# Maintainer: Natanael Copa pkgname=glibmm pkgver=2.36.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.xz" 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="6f8484ae440e6b2d027a2cf9a3bb7591 glibmm-2.36.0.tar.xz" sha256sums="59c54996cccc527f3a257964e7226151175c423f6fb22166e81d65a652f483f3 glibmm-2.36.0.tar.xz" sha512sums="f9e05e0851d2a9b522f97fa60f912009eb55ee42f1d7a115261ce921dcb23fb260753f3216fc55f1a0989ad6a732bc4a7106f3ec589d098d5a1a51bd695b130f glibmm-2.36.0.tar.xz"