diff options
author | root <root@rshg054.dnsready.net> | 2012-02-27 23:15:24 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-27 23:15:24 +0000 |
commit | 1f567a9d58d16b76320168f0624aa55bd6320284 (patch) | |
tree | e4e7ffadc364d582fccd8543ad1543fa9741a8a7 /extra/libsigc++/PKGBUILD | |
parent | f6a79a3f5989efc8db63af942851c56f0c462bb1 (diff) |
Mon Feb 27 23:15:24 UTC 2012
Diffstat (limited to 'extra/libsigc++/PKGBUILD')
-rw-r--r-- | extra/libsigc++/PKGBUILD | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/extra/libsigc++/PKGBUILD b/extra/libsigc++/PKGBUILD index 444460e89..308b99e4f 100644 --- a/extra/libsigc++/PKGBUILD +++ b/extra/libsigc++/PKGBUILD @@ -1,33 +1,35 @@ -# $Id: PKGBUILD 132743 2011-07-25 18:52:55Z heftig $ +# $Id: PKGBUILD 151408 2012-02-26 10:35:06Z pierre $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgbase=libsigc++ pkgname=('libsigc++' 'libsigc++-docs') pkgver=2.2.10 -pkgrel=1 -arch=(i686 x86_64) +pkgrel=2 +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) +makedepends=('gcc-libs') +options=('!libtool' '!emptydirs') +source=("http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.2/${pkgbase}-${pkgver}.tar.bz2") sha256sums=('d3d810c2ad469edfb2d4db29643bef189b7613019eadbd4a72823af3c73c959c') build() { cd "${srcdir}/${pkgbase}-${pkgver}" - ./configure --prefix=/usr || return 1 - make || return 1 + ./configure --prefix=/usr + make } -package_libsigc++() { +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 + sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile + make DESTDIR="${pkgdir}" install } package_libsigc++-docs() { @@ -35,6 +37,7 @@ package_libsigc++-docs() { 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 + make DESTDIR="${pkgdir}" install } |