From 8ae9b5900336c28cebdb3e13154a20f58d8bae19 Mon Sep 17 00:00:00 2001 From: tmpfile Date: Sat, 13 May 2017 23:15:00 -0300 Subject: testing/setroot: modernize abuild --- testing/setroot/APKBUILD | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'testing/setroot/APKBUILD') diff --git a/testing/setroot/APKBUILD b/testing/setroot/APKBUILD index 2cf1a70c51..97570e7992 100644 --- a/testing/setroot/APKBUILD +++ b/testing/setroot/APKBUILD @@ -10,21 +10,18 @@ license="GPL3" depends="" depends_dev="imlib2-dev" makedepends="$depends_dev" -install="" subpackages="$pkgname-doc" -source="saveas-https://github.com/ttzhou/$pkgname/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/ttzhou/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" - make || return 1 + make } package() { cd "$builddir" - make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 + make PREFIX=/usr DESTDIR="$pkgdir" install } -md5sums="99f58d6fe8026c05e6eb63be04d45a54 setroot-2.0.tar.gz" -sha256sums="c4ccdacb44a7b15d3c592d4b94a64543c98acf3264abf279e0c4970189806fa9 setroot-2.0.tar.gz" sha512sums="0e1d0aa2a002ce348d2c4791e27980f1431ed9543d46dcbc1f8d20b1518d126c5cd9d4642aec5f13c8ab0c7b3e75d55e5f70a5b649264949989965505dfedb71 setroot-2.0.tar.gz" -- cgit v1.2.3