diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-05-14 11:33:44 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-07 19:10:57 +0000 |
commit | d82e87f59302ab28d621295d588b9d3d082668ed (patch) | |
tree | a839794c55e38843414fa9d91d96ca38a307aa3b /main/rxvt-unicode | |
parent | 47a147e1da5d5640d38900ece14708c44e8e1cf4 (diff) | |
download | aports-d82e87f59302ab28d621295d588b9d3d082668ed.tar.bz2 aports-d82e87f59302ab28d621295d588b9d3d082668ed.tar.xz |
main/rxvt-unicode: modernize abuild
Diffstat (limited to 'main/rxvt-unicode')
-rw-r--r-- | main/rxvt-unicode/APKBUILD | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/main/rxvt-unicode/APKBUILD b/main/rxvt-unicode/APKBUILD index 42795d2e13..60d8e01904 100644 --- a/main/rxvt-unicode/APKBUILD +++ b/main/rxvt-unicode/APKBUILD @@ -17,19 +17,10 @@ source="http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2 gentables.patch rxvt-unicode-kerning.patch" -_builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - cd "$_builddir" - local i= - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1 ;; - esac - done -} +builddir="${srcdir}/${pkgname}-${pkgver}" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -52,9 +43,8 @@ build() { --enable-unicode3 \ --disable-utmp \ --disable-wtmp \ - --disable-lastlog \ - || return 1 - make || return 1 + --disable-lastlog + make } package() { @@ -65,7 +55,7 @@ package() { install -d "$TERMINFO" make DESTDIR="$pkgdir" \ - -C "$_builddir" install || return 1 + -C "$builddir" install } terminfo() { @@ -75,12 +65,6 @@ terminfo() { "$subpkgdir"/usr/share/terminfo/ } -md5sums="93782dec27494eb079467dacf6e48185 rxvt-unicode-9.22.tar.bz2 -105d79e77f2aedc2520791177c74feda gentables.patch -585157318cb78733804eed507b77c37c rxvt-unicode-kerning.patch" -sha256sums="e94628e9bcfa0adb1115d83649f898d6edb4baced44f5d5b769c2eeb8b95addd rxvt-unicode-9.22.tar.bz2 -d89c34b9a36d67cde0d3a4e934e499d668a4d712c355847956a284fa2899b576 gentables.patch -fc241d7c11b86f589f41a0f488e8f04875ca6ca937e57bc2347c19dff423a38a rxvt-unicode-kerning.patch" sha512sums="b39f1b2cbe6dd3fbd2a0ad6a9d391a2b6f49d7c5e67bc65fe44a9c86937f8db379572c67564c6e21ff6e09b447cdfd4e540544e486179e94da0e0db679c04dd9 rxvt-unicode-9.22.tar.bz2 2a973e001dacf900895d0c1045dfffd5a1ca7650669853bd5fdf09819b19a750bb59d913f8bdc83b103e5e0e7cce7f0d2b6184f36a29c1bac86e90c08ae6a475 gentables.patch d2fb68b3e11a78328ded4d2d646ffbaae657e9f23f3b4b81e11bc4350dd3e1e7585eeaeee47a70246bdfb7e12fbb667e40a7766989154235064f56ed4ad0a987 rxvt-unicode-kerning.patch" |