# $Id: PKGBUILD 56662 2011-10-09 15:04:32Z ibiru $ # Maintainer : Ionut Biru # Contributor: Jan de Groot pkgbase=libgdamm pkgname=(libgdamm libgdamm-docs) pkgver=4.99.4.1 pkgrel=1 arch=('i686' 'x86_64') makedepends=('libgda' 'libsigc++' 'glibmm' 'glibmm-docs') url="http://gtkmm.sourceforge.net/" license=('LGPL') options=('!libtool' '!emptydirs') source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgbase/${pkgver%.*.*}/$pkgname-$pkgver.tar.xz) sha256sums=('7be24b0a7e992724478abda029974f7200a8ef000b8592659dd5068f47b02c6a') build() { cd "${srcdir}/${pkgbase}-${pkgver}" ./configure --prefix=/usr make } package_libgdamm() { pkgdesc="C++ bindings for libgda" depends=('libgda' 'glibmm' 'libsigc++') cd "${srcdir}/${pkgbase}-${pkgver}" sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile make DESTDIR="${pkgdir}" install } package_libgdamm-docs() { pkgdesc="Developer documentation for libgdamm" cd "${srcdir}/${pkgbase}-${pkgver}" make -C docs DESTDIR="${pkgdir}" install }