aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-10-04 00:45:48 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-10-04 00:47:15 +0000
commitb28978415c266263c886aa4331e7835bd15a61cb (patch)
tree6eeee3740bab12f7efb483346f3bdde0a11d8608 /testing
parent1c35dc667520ab2ad9607711b4d587319fa9c3b6 (diff)
downloadaports-b28978415c266263c886aa4331e7835bd15a61cb.tar.bz2
aports-b28978415c266263c886aa4331e7835bd15a61cb.tar.xz
testing/libsigsegv: upgrade to 2.11 and modernize
Diffstat (limited to 'testing')
-rw-r--r--testing/libsigsegv/APKBUILD23
1 files changed, 8 insertions, 15 deletions
diff --git a/testing/libsigsegv/APKBUILD b/testing/libsigsegv/APKBUILD
index 3a1d5fbeec..64dc684981 100644
--- a/testing/libsigsegv/APKBUILD
+++ b/testing/libsigsegv/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=libsigsegv
-pkgver=2.10
-pkgrel=1
+pkgver=2.11
+pkgrel=0
pkgdesc="Page fault detection library"
url="http://www.gnu.org/software/libsigsegv/"
arch="all"
@@ -14,14 +14,10 @@ install=""
subpackages="$pkgname-dev"
source="http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-$pkgver.tar.gz"
-_builddir="$srcdir"/libsigsegv-$pkgver
-prepare() {
- cd "$_builddir"
- update_config_sub || return 1
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,16 +25,13 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
make DESTDIR="$pkgdir" \
- -C "$_builddir" install || return 1
+ -C "$builddir" install
}
-md5sums="7f96fb1f65b3b8cbc1582fb7be774f0f libsigsegv-2.10.tar.gz"
-sha256sums="8460a4a3dd4954c3d96d7a4f5dd5bc4d9b76f5754196aa245287553b26d2199a libsigsegv-2.10.tar.gz"
-sha512sums="9464b3343af5042169f208781ffa9d1f7e5e1ee8654c1e6aca5581157b43eedc5ee504a56eb905c61443273bcfc8da6822ecc6499c5f589570ad0ba02d8d8cc2 libsigsegv-2.10.tar.gz"
+sha512sums="6d60bbaa704b86c12a32a6b0eadd30fa7736d0e0ff8a1c45af1b15b7b7d4524f39902fe3f7f47a100bc2586e32aa25bb575e3d859d9ccb5fd7e99ba4e62f7b02 libsigsegv-2.11.tar.gz"