diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-09 01:43:59 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-09 01:43:59 (GMT) |
commit | 6b218299785aedd78128a9c7831aff1a6eefdcb8 (patch) | |
tree | 79f48e3bac89f7120496e6b3021072212fa6a780 /abs/extra/community/libsigc++/PKGBUILD | |
parent | f33c5716af099ce4d779cf67f65204f11b551ed6 (diff) | |
parent | e40ac065f9a09f99b37e898b8684d70a0984f399 (diff) | |
download | linhes_pkgbuild-6b218299785aedd78128a9c7831aff1a6eefdcb8.zip linhes_pkgbuild-6b218299785aedd78128a9c7831aff1a6eefdcb8.tar.gz linhes_pkgbuild-6b218299785aedd78128a9c7831aff1a6eefdcb8.tar.bz2 |
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/community/libsigc++/PKGBUILD')
-rw-r--r-- | abs/extra/community/libsigc++/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/abs/extra/community/libsigc++/PKGBUILD b/abs/extra/community/libsigc++/PKGBUILD new file mode 100644 index 0000000..7b133f9 --- /dev/null +++ b/abs/extra/community/libsigc++/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 81927 2010-06-07 10:44:11Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgbase=libsigc++ +pkgname=('libsigc++' 'libsigc++-docs') +pkgver=2.2.8 +pkgrel=1 +arch=(i686 x86_64) +license=('LGPL') +url="http://libsigc.sourceforge.net/" +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.2/${pkgname}-${pkgver}.tar.bz2) +makedepends=('gcc-libs>=4.5.0') +options=(!libtool !emptydirs) +sha256sums=('0fd75fd8249e09ae2fd3ffd20c3fbaea11b47d71ba5ba2340ed98b6bdca40ea8') + +build() { + cd "${srcdir}/${pkgname}-${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>=4.5.0') + 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 +} |