diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-04-02 15:18:05 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-04-03 08:42:38 +0200 |
commit | 9ae5e44177a1d3024512270da005114289b2b895 (patch) | |
tree | 7f2732ca23f89968b9f717394b58c031b6587baf /testing | |
parent | d6f516b0516ead0966f935deae265a79f5672d52 (diff) | |
download | aports-9ae5e44177a1d3024512270da005114289b2b895.tar.bz2 aports-9ae5e44177a1d3024512270da005114289b2b895.tar.xz |
testing/drawterm: modernize abuild
Diffstat (limited to 'testing')
-rw-r--r-- | testing/drawterm/APKBUILD | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/testing/drawterm/APKBUILD b/testing/drawterm/APKBUILD index 2e6bb9e150..9e59c11810 100644 --- a/testing/drawterm/APKBUILD +++ b/testing/drawterm/APKBUILD @@ -8,6 +8,7 @@ url="http://drawterm.9front.org/" arch="all !armhf !aarch64" license="custom" depends="" +options="!check" makedepends="linux-headers libx11-dev libxt-dev" install="" subpackages="$pkgname-dbg" @@ -23,38 +24,31 @@ snapshot() { mkdir -p "$srcdir" && cd "$srcdir" hg clone "$_srcurl" $pkgname-$pkgver \ - -r "$_srcrev" || return 1 + -r "$_srcrev" hg --cwd "$pkgname-$pkgver" archive \ -t tgz \ -X ".hg*" \ -p $pkgname-$pkgver/ \ - "$srcdir"/$pkgname-$pkgver.tar.gz || return 1 + "$srcdir"/$pkgname-$pkgver.tar.gz scp "$srcdir"/$pkgname-$pkgver.tar.gz \ - dev.alpinelinux.org:/archive/$pkgname/ || return 1 + dev.alpinelinux.org:/archive/$pkgname/ } build() { CONF=unix make X11INC=/usr/include/X11 \ X11LIB=/usr/lib/X11 \ - -C "$builddir" || return 1 + -C "$builddir" } package() { cd "$builddir" install -Dm755 $pkgname \ - "$pkgdir"/usr/bin/$pkgname || return 1 + "$pkgdir"/usr/bin/$pkgname install -Dm644 LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE \ - || return 1 + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } -md5sums="98d9c8d514802b58cbbac50c52185371 drawterm-20170119.tar.gz -1583e6505c6bc4f1bc053c4fdcd9aee1 fix-off-by-one.patch -e02b5a0df664a5eec50ad58a79988f9c respect-env.patch" -sha256sums="aa7e170b39ae014d2687ad4dc99941695b02e4515054b6dfccc01a5261e4db7c drawterm-20170119.tar.gz -236b3bc552e9007b6f9ca1de8dc02072f2863f3dbed7b843d9ead165508480f5 fix-off-by-one.patch -30f15a5b48d5f92107d5bedd28d3d619be8afedcb1063df5a94ca2c2609d632d respect-env.patch" sha512sums="fec2895bd01940cd91ed6c4b73fd13ec6a55c5a5b2241f48430a73af44e6e4c649819a2ee9feee1880d4bf27ab007a229c6b5170039b73f1f19f8b0e6d04c510 drawterm-20170119.tar.gz dc57264470e2ab583c7dfbb6451b9fcea47e37a24bdeb7e512ab50a0321f086b471dbe08b2d13514c7842e084f5fdf078f917a19e62bd6aaceb2e199e8169374 fix-off-by-one.patch be42c27a550b49f13fa26cdd698fb4d8387d989141cae1a3671deceb82b9286c9f73772ec9731698c7ecef69949381f9eda8af1dc1d9957fa373752e52f809bb respect-env.patch" |