diff options
Diffstat (limited to 'gnome-unstable/pangomm/PKGBUILD')
-rw-r--r-- | gnome-unstable/pangomm/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnome-unstable/pangomm/PKGBUILD b/gnome-unstable/pangomm/PKGBUILD new file mode 100644 index 000000000..17d1483cd --- /dev/null +++ b/gnome-unstable/pangomm/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 116819 2011-03-25 21:50:27Z heftig $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgbase=pangomm +pkgname=('pangomm' 'pangomm-docs') +pkgver=2.28.1 +pkgrel=1 +arch=('i686' 'x86_64') +license=('LGPL') +makedepends=('pango' 'glibmm' 'glibmm-docs' 'cairomm' 'pkgconfig') +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.bz2) +options=('!libtool') +url="http://gtkmm.sourceforge.net/" +sha256sums=('2c89b4460f88f8ece0e94a3332a804ca4858a3594abd84043b2898b61ab21c1b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} +package_pangomm() { + pkgdesc="C++ bindings for pango" + depends=('pango' 'glibmm' 'cairomm') + cd "${srcdir}/${pkgbase}-${pkgver}" + sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile + make DESTDIR="${pkgdir}" install +} + +package_pangomm-docs() { + pkgdesc="Developer documentation for pangomm" + cd "${srcdir}/${pkgbase}-${pkgver}/docs" + make DESTDIR="${pkgdir}" install +} |