aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Robinson <ed.robinson@reevoo.com>2017-07-03 09:15:18 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-10 19:02:42 +0000
commit6e33426e8e62d434382adbd857d04bf2002bcf48 (patch)
treed8f3ff39ad12caed29fc842ac24910a1046f1283
parent8b513e216ef1034a2a4d6b988adc873c930215ab (diff)
downloadaports-6e33426e8e62d434382adbd857d04bf2002bcf48.tar.gz
aports-6e33426e8e62d434382adbd857d04bf2002bcf48.tar.bz2
aports-6e33426e8e62d434382adbd857d04bf2002bcf48.tar.xz
testing/detenc: improve APKBUILD and move to community
-rw-r--r--community/detenc/APKBUILD (renamed from testing/detenc/APKBUILD)9
1 files changed, 6 insertions, 3 deletions
diff --git a/testing/detenc/APKBUILD b/community/detenc/APKBUILD
index 5d91beac89..f43ee5fcf8 100644
--- a/testing/detenc/APKBUILD
+++ b/community/detenc/APKBUILD
@@ -12,9 +12,14 @@ makedepends="ruby-rake ruby-minitest"
source="$pkgname-$pkgver.tar.gz::https://github.com/reevoo/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
+check() {
+ cd "$builddir"
+ make check
+}
+
build() {
cd "$builddir"
- make && make check
+ make
}
package() {
@@ -22,6 +27,4 @@ package() {
make PREFIX="$pkgdir" -C "$builddir" install
}
-md5sums="e880e0b24205fc45e4c6a7e0cf3bfa70 detenc-2.0.0.tar.gz"
-sha256sums="ae50401d0fb25edf781dc8324e0dfc699264c72ef31936729867754586e81f13 detenc-2.0.0.tar.gz"
sha512sums="b4c0dc71a699b2e30a345d641781bd58146be84a727e89dc9ef39da7ddb752659371ba8fc37b345c514b43f92723ef80c9bbe73c72a562a2729a1626ec3f53db detenc-2.0.0.tar.gz"