# $Id: PKGBUILD 197865 2013-10-30 11:20:48Z allan $ # Maintainer: Jan "heftig" Steffens pkgbase=atkmm pkgname=(atkmm atkmm-docs) pkgver=2.22.7 pkgrel=1 arch=('i686' 'x86_64' 'mips64el') makedepends=('atk' 'glibmm' 'glibmm-docs' 'libsigc++') license=('LGPL') options=('!emptydirs') url="http://gtkmm.sourceforge.net/" source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.22/${pkgbase}-${pkgver}.tar.xz) sha256sums=('bfbf846b409b4c5eb3a52fa32a13d86936021969406b3dcafd4dd05abd70f91b') build() { cd "${srcdir}/${pkgbase}-${pkgver}" ./configure --prefix=/usr make } package_atkmm() { pkgdesc="C++ bindings for atk" depends=('atk' 'glibmm' 'libsigc++') cd "${srcdir}/${pkgbase}-${pkgver}" sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile make DESTDIR="${pkgdir}" install } package_atkmm-docs() { pkgdesc="Developer documentation for atkmm" cd "${srcdir}/${pkgbase}-${pkgver}" make -C doc DESTDIR="${pkgdir}" install }