Skip to content
Snippets Groups Projects
Commit a26d70ac authored by Sören Tempel's avatar Sören Tempel
Browse files

community/chicken: modernize APKBUILD

parent 3bbd1c00
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,6 @@ license="BSD-3-Clause"
depends="gcc libc-dev $pkgname-dev $pkgname-libs"
subpackages="$pkgname-doc $pkgname-libs $pkgname-dev $pkgname-feathers::noarch"
source="https://code.call-cc.org/releases/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
# secfixes:
# 4.12.0-r3:
......@@ -24,19 +23,16 @@ builddir="$srcdir"/$pkgname-$pkgver
build() {
# chicken does not support parallel builds.
make -j1 PLATFORM=linux PREFIX=/usr \
-C "$builddir"
make -j1 PLATFORM=linux PREFIX=/usr
}
check() {
make -j1 PLATFORM=linux \
-C "$builddir" check
make -j1 PLATFORM=linux check
}
package() {
# chicken does not support parallel installs.
make -j1 PLATFORM=linux PREFIX=/usr DESTDIR="$pkgdir" \
-C "$builddir" install
make -j1 PLATFORM=linux PREFIX=/usr DESTDIR="$pkgdir" install
# Move documentation to /usr/share/doc.
mkdir -p "$pkgdir"/usr/share/doc/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment