aboutsummaryrefslogtreecommitdiffstats
path: root/testing/spin/APKBUILD
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2017-11-11 14:57:42 -0500
committerDaniel Sabogal <dsabogalcc@gmail.com>2017-11-14 13:58:35 -0500
commit56eef7f0f47fe9b4481959a6cead78b5f5b697ba (patch)
treeb463622a571c2405f5970ac9899ae329b83165e3 /testing/spin/APKBUILD
parent4461f8f2c707fa42386f0f08259122f3d4f8ff1d (diff)
downloadaports-56eef7f0f47fe9b4481959a6cead78b5f5b697ba.tar.bz2
aports-56eef7f0f47fe9b4481959a6cead78b5f5b697ba.tar.xz
testing/spin: modernize abuild
Diffstat (limited to 'testing/spin/APKBUILD')
-rw-r--r--testing/spin/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/spin/APKBUILD b/testing/spin/APKBUILD
index 98d7ca086c..9a667da4b9 100644
--- a/testing/spin/APKBUILD
+++ b/testing/spin/APKBUILD
@@ -13,24 +13,24 @@ makedepends="bison"
subpackages="$pkgname-doc"
source="http://spinroot.com/spin/Src/$pkgname$_pkgver.tar.gz
makefile.patch"
-
builddir="$srcdir/Spin"
build() {
- make -C "$builddir/Src$pkgver" || return 1
+ make -C "$builddir/Src$pkgver"
+}
+
+check() {
+ cd "$builddir"
+ ./Src$pkgver/spin -V
}
package() {
cd "$builddir"
install -d "$pkgdir"/usr/share/man/man1
install -d "$pkgdir"/usr/bin
- install -m644 Man/spin.1 "$pkgdir"/usr/share/man/man1 || return 1
- install -m755 "Src$pkgver"/spin "$pkgdir"/usr/bin || return 1
+ install -m644 Man/spin.1 "$pkgdir"/usr/share/man/man1
+ install -m755 "Src$pkgver"/spin "$pkgdir"/usr/bin
}
-md5sums="508241a94effd48b24ec29622bd0b668 spin645.tar.gz
-e6d0ca0ed4b3b5ff0a6f93db17234b1c makefile.patch"
-sha256sums="44081282eb63cd9df763ebbcf8bad19dbeefecbebf8ac2cc090ea92e2ab71875 spin645.tar.gz
-75a028550a822e70a8e3a27b30af9dca960e9ac3f907d348404dfc68fab8855e makefile.patch"
sha512sums="77bc35bb852c0448915c655bf11910d0b226d30d66abaa63311e6227de03f920ca026e7399cbeebdae631368fd8091f1e8330bd3094bd4febdf7d5c7a81834ad spin645.tar.gz
de6e395714439e3e6e4d10dd25d9f3c2566ec7aa9ac58452a468a73c92690094f2df4c6e1a1425295a575e142764a33b7f86a2d2ea9788cfa23b84ff60bc43d6 makefile.patch"