# Maintainer: Natanael Copa pkgname=glibmm pkgver=2.30.0 pkgrel=0 pkgdesc="C++ wrapper for the GLib toolkit" url="http://gtkmm.sourceforge.net/" arch="all" license="LGPL" depends= makedepends="glib-dev libsigc++-dev" subpackages="$pkgname-dev $pkgname-doc" depends_dev="libsigc++-dev" source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } dev() { mkdir -p "$subpkgdir"/usr/lib/ mv "$pkgdir"/usr/lib/glibmm-2.4 "$subpkgdir"/usr/lib/ default_dev } doc() { default_doc mkdir -p "$subpkgdir"/usr/share/ mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share/ } md5sums="7d9740098cd46f058a351df3bc3670ce glibmm-2.30.0.tar.bz2"