1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Kritoke <typeolinux@yahoo.com>
7 pkgdesc="A C++ wrapper for libglade."
9 url="http://gtkmm.sourceforge.net/"
11 depends=('libglade' 'gtkmm')
12 makedepends=('pkgconfig')
13 source=(https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2)
14 sha256sums=('38543c15acf727434341cc08c2b003d24f36abc22380937707fc2c5c687a2bc3')
17 cd "${srcdir}/${pkgname}-${pkgver}"
18 CXXFLAGS+=' -std=c++11'
19 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
21 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
27 cd "${srcdir}/${pkgname}-${pkgver}"
28 make DESTDIR="${pkgdir}" install