aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2020-03-06 11:39:54 +0100
committerKevin Daudt <kdaudt@alpinelinux.org>2020-03-08 12:48:42 +0100
commit5aa2e614fa669b2e1c0fe349dd1998045d0e90ea (patch)
treef7c0135296577e7cce594cd42f977cf4b8168ce1
parent3aa2d48844c8365a54433a8f96379eca5ada8138 (diff)
downloadaports-5aa2e614fa669b2e1c0fe349dd1998045d0e90ea.tar.bz2
aports-5aa2e614fa669b2e1c0fe349dd1998045d0e90ea.tar.xz
community/enscript: moved from testing
-rw-r--r--community/enscript/APKBUILD (renamed from testing/enscript/APKBUILD)15
1 files changed, 6 insertions, 9 deletions
diff --git a/testing/enscript/APKBUILD b/community/enscript/APKBUILD
index e357371e5a..98893be16a 100644
--- a/testing/enscript/APKBUILD
+++ b/community/enscript/APKBUILD
@@ -1,4 +1,4 @@
-# Maintainer:
+# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=enscript
pkgver=1.6.6
pkgrel=1
@@ -7,14 +7,9 @@ url="https://www.gnu.org/software/enscript/"
arch="all"
license="GPL-3.0-only"
subpackages="$pkgname-doc"
-source="https://ftp.gnu.org/gnu/enscript/$pkgname-$pkgver.tar.gz"
-
-builddir="$srcdir/$pkgname-$pkgver"
-options="!check"
+source="https://ftp.gnu.org/gnu/enscript/enscript-$pkgver.tar.gz"
build() {
- cd "$builddir"
-
# Avoid paths sneak in.
unset LIBRARY_PATH LD_RUN_PATH
PATH=/sbin:/usr/sbin:/bin:/usr/bin
@@ -27,9 +22,11 @@ build() {
make
}
-package() {
- cd "$builddir"
+check() {
+ make check
+}
+package() {
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/share/info
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING