diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2020-04-22 11:08:40 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2020-04-22 14:16:44 +0200 |
commit | 221b39789e0b1f493e7b590b77a9850729a33220 (patch) | |
tree | 5f1a24ac6c976b8aa7479befb832bda1dcdfd43d /community | |
parent | 35c433af44eb2c1bafe6dc285bfcf32125294ee1 (diff) | |
download | aports-221b39789e0b1f493e7b590b77a9850729a33220.tar.bz2 aports-221b39789e0b1f493e7b590b77a9850729a33220.tar.xz |
community/drawterm: modernize APKBUILD
Diffstat (limited to 'community')
-rw-r--r-- | community/drawterm/APKBUILD | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/community/drawterm/APKBUILD b/community/drawterm/APKBUILD index 5bafd6a35f..6e7972bc19 100644 --- a/community/drawterm/APKBUILD +++ b/community/drawterm/APKBUILD @@ -7,26 +7,20 @@ pkgdesc="Connect to Plan 9 CPU servers from other operating systems" url="http://drawterm.9front.org/" arch="all !armhf !armv7 !aarch64 !s390x !mips !mips64" license="custom" -depends="" -options="!check" +options="!check" # upstream does not have a test suite makedepends="linux-headers libx11-dev libxt-dev" -install="" subpackages="$pkgname-dbg" -source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz +source="https://dev.alpinelinux.org/archive/drawterm/drawterm-$pkgver.tar.gz respect-env.patch" _srcurl="https://code.9front.org/hg/$pkgname" _srcrev="62a48ddc800d" -builddir="$srcdir"/$pkgname-$pkgver - prepare() { - cd "$builddir" - + default_prepare if [ "$CARCH" = "ppc64le" ]; then ln -s posix-power posix-ppc64le fi - default_prepare } snapshot() { @@ -46,12 +40,10 @@ snapshot() { build() { CONF=unix make X11INC=/usr/include/X11 \ - X11LIB=/usr/lib/X11 \ - -C "$builddir" + X11LIB=/usr/lib/X11 } package() { - cd "$builddir" install -Dm755 $pkgname \ "$pkgdir"/usr/bin/$pkgname install -Dm644 LICENSE \ |