diff options
Diffstat (limited to 'community/chicken')
-rw-r--r-- | community/chicken/APKBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/community/chicken/APKBUILD b/community/chicken/APKBUILD index ef9b96b409..3117d93832 100644 --- a/community/chicken/APKBUILD +++ b/community/chicken/APKBUILD @@ -14,6 +14,7 @@ makedepends="$depends_dev" install="" subpackages="$pkgname-doc $pkgname-libs $pkgname-dev $pkgname-feathers::noarch" source="http://code.call-cc.org/releases/$pkgver/$pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver # secfixes: # 4.12.0-r3: @@ -24,32 +25,31 @@ source="http://code.call-cc.org/releases/$pkgver/$pkgname-$pkgver.tar.gz" # - CVE-2016-6830 # - CVE-2016-6831 -builddir="$srcdir"/$pkgname-$pkgver build() { # chicken does not support parallel builds. make -j1 PLATFORM=linux PREFIX=/usr \ - -C "$builddir" || return 1 + -C "$builddir" } check() { make -j1 PLATFORM=linux \ - -C "$builddir" check || return 1 + -C "$builddir" check } package() { # chicken does not support parallel installs. make -j1 PLATFORM=linux PREFIX=/usr DESTDIR="$pkgdir" \ - -C "$builddir" install || return 1 + -C "$builddir" install # Move documentation to /usr/share/doc. mkdir -p "$pkgdir"/usr/share/doc/ mv "$pkgdir"/usr/share/$pkgname/doc \ - "$pkgdir"/usr/share/doc/$pkgname || return 1 + "$pkgdir"/usr/share/doc/$pkgname # Move license to /usr/share/licenses mkdir -p "$pkgdir"/usr/share/licenses/$pkgname mv "$pkgdir"/usr/share/doc/$pkgname/LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/ || return 1 + "$pkgdir"/usr/share/licenses/$pkgname/ } feathers() { @@ -59,9 +59,9 @@ feathers() { mkdir -p "$subpkgdir"/usr/bin/ \ "$subpkgdir"/usr/share/chicken/ mv "$pkgdir"/usr/bin/feathers \ - "$subpkgdir"/usr/bin/ || return 1 + "$subpkgdir"/usr/bin/ mv "$pkgdir"/usr/share/chicken/feathers.tcl \ - "$subpkgdir"/usr/share/chicken/ || return 1 + "$subpkgdir"/usr/share/chicken/ } sha512sums="02c2035b4f81da6f4af2d246361ce8debdc9d9c663c3f43b7afb9abbf1ff591a2bb8fa144511b4d747a373dea4dcd9c10cac48466bf97032db76f3830c08709d chicken-4.13.0.tar.gz" |