diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/glibmm/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/glibmm/PKGBUILD')
-rw-r--r-- | extra/glibmm/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/glibmm/PKGBUILD b/extra/glibmm/PKGBUILD new file mode 100644 index 000000000..7c008cb87 --- /dev/null +++ b/extra/glibmm/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 79559 2010-05-04 13:57:18Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgbase=glibmm +pkgname=('glibmm' 'glibmm-docs') +pkgver=2.24.2 +pkgrel=1 +arch=('i686' 'x86_64') +license=('LGPL') +makedepends=('glib2>=2.24.1' 'libsigc++2.0>=2.2.5' 'pkgconfig') +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2) +options=('!libtool') +url="http://gtkmm.sourceforge.net/" +sha256sums=('d4687c0b27f9c9f955a5306649008a1f8d8935edff916278fb7b65b44292ff7a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package_glibmm() { + pkgdesc="Glib-- (glibmm) is a C++ interface for glib" + depends=('glib2>=2.24.0' 'libsigc++2.0>=2.2.5') + cd "${srcdir}/${pkgbase}-${pkgver}" + sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile + make DESTDIR="${pkgdir}" install || return 1 +} + +package_glibmm-docs() { + pkgdesc="Developer documentation for glibmm" + cd "${srcdir}/${pkgbase}-${pkgver}/docs" + make DESTDIR="${pkgdir}" install || return 1 +} |