summaryrefslogtreecommitdiffstats
path: root/abs/extra/libsigc++/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/libsigc++/PKGBUILD')
-rw-r--r--abs/extra/libsigc++/PKGBUILD34
1 files changed, 18 insertions, 16 deletions
diff --git a/abs/extra/libsigc++/PKGBUILD b/abs/extra/libsigc++/PKGBUILD
index 7b133f9..308b99e 100644
--- a/abs/extra/libsigc++/PKGBUILD
+++ b/abs/extra/libsigc++/PKGBUILD
@@ -1,34 +1,35 @@
-# $Id: PKGBUILD 81927 2010-06-07 10:44:11Z jgc $
+# $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.8
-pkgrel=1
-arch=(i686 x86_64)
+pkgver=2.2.10
+pkgrel=2
+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')
+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}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ ./configure --prefix=/usr
+ make
}
-package_libsigc++() {
+package_libsigc++ () {
pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2"
- depends=('gcc-libs>=4.5.0')
+ 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() {
@@ -36,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
}