diff options
Diffstat (limited to 'extra/libsigc++/PKGBUILD')
-rw-r--r-- | extra/libsigc++/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/libsigc++/PKGBUILD b/extra/libsigc++/PKGBUILD new file mode 100644 index 000000000..4700619bd --- /dev/null +++ b/extra/libsigc++/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 113455 2011-03-08 17:41:58Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgbase=libsigc++ +pkgname=('libsigc++' 'libsigc++-docs') +pkgver=2.2.9 +pkgrel=1 +arch=(i686 x86_64) +license=('LGPL') +url="http://libsigc.sourceforge.net/" +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.2/${pkgbase}-${pkgver}.tar.bz2) +options=(!libtool !emptydirs) +sha256sums=('2f4c083e01d9be377669206bd97090d2e95bc05f2e8d95447c9f9ce92bdfbb63') + +build() { + cd "${srcdir}/${pkgbase}-${pkgver}" + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package_libsigc++() { + pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2" + depends=('gcc-libs') + provides=("libsigc++2.0=${pkgver}") + replaces=('libsigc++2.0') + conflicts=('libsigc++2.0') + cd "${srcdir}/libsigc++-${pkgver}" + sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile || return 1 + make DESTDIR="${pkgdir}" install || return 1 +} + +package_libsigc++-docs() { + pkgdesc="Developer documentation for libsigc++" + provides=("libsigc++2.0-docs=${pkgver}") + replaces=('libsigc++2.0-docs') + conflicts=('libsigc++2.0-docs') + cd "${srcdir}/libsigc++-${pkgver}/docs" + make DESTDIR="${pkgdir}" install || return 1 +} |