1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 pkgname=(gtkmm gtkmm-docs)
9 pkgdesc="C++ bindings for GTK+ 2"
10 url="http://www.gtkmm.org/"
13 depends=(gtk2 pangomm atkmm)
14 source=(https://ftp.gnome.org/pub/GNOME/sources/$pkgbase/2.24/$pkgbase-$pkgver.tar.xz)
15 sha256sums=('0680a53b7bf90b4e4bf444d1d89e6df41c777e0bacc96e9c09fc4dd2f5fe6b72')
20 # glibmm 2.46 uses C++11 features
21 CXXFLAGS+=' -std=c++11'
23 ./configure --prefix=/usr
24 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
30 sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
31 make DESTDIR="$pkgdir" install
34 package_gtkmm-docs() {
35 pkgdesc+=" (documentation)"
39 make -C docs DESTDIR="$pkgdir" install