diff options
-rw-r--r-- | main/libsigc++/APKBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/main/libsigc++/APKBUILD b/main/libsigc++/APKBUILD index b3aad30de6..5468d0ab11 100644 --- a/main/libsigc++/APKBUILD +++ b/main/libsigc++/APKBUILD @@ -1,12 +1,11 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libsigc++ pkgver=2.10.0 -pkgrel=0 +pkgrel=1 pkgdesc="type-safe Signal Framework for C++" url="http://libsigc.sourceforge.net/" arch="all" license="LGPL" -depends= makedepends="m4 perl tar" subpackages="$pkgname-dev $pkgname-doc" source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" @@ -17,23 +16,25 @@ build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } doc() { - default_doc || return 1 + default_doc - mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share || return 1 + mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share rmdir "$pkgdir"/usr/share } -md5sums="70bcbde2c900e4925d6ef4bf50954195 libsigc++-2.10.0.tar.xz" -sha256sums="f843d6346260bfcb4426259e314512b99e296e8ca241d771d21ac64f28298d81 libsigc++-2.10.0.tar.xz" sha512sums="5b96df21d6bd6ba41520c7219e77695a86aabc60b7259262c7a9f4b8475ce0e2fd8dc37bcf7c17e24e818ff28c262d682b964c83e215b51bdbe000f3f58794ae libsigc++-2.10.0.tar.xz" |