diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-24 02:02:18 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-24 02:05:29 +0100 |
commit | 36201b7051bb0c809725ebd33eb7e129f3c3aee4 (patch) | |
tree | 7964251ffe6a61407802c81652c6454b3f2ea671 /main | |
parent | ed54a83893ccab634d15172895d9f29a9f9e8316 (diff) | |
download | aports-36201b7051bb0c809725ebd33eb7e129f3c3aee4.tar.bz2 aports-36201b7051bb0c809725ebd33eb7e129f3c3aee4.tar.xz |
main/fish: modernize abuild
Diffstat (limited to 'main')
-rw-r--r-- | main/fish/APKBUILD | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/main/fish/APKBUILD b/main/fish/APKBUILD index 360ea77ae6..3209d7cd87 100644 --- a/main/fish/APKBUILD +++ b/main/fish/APKBUILD @@ -3,7 +3,7 @@ pkgname=fish pkgver=2.6.0 pkgrel=1 -pkgdesc="a modern interactive commandline shell" +pkgdesc="A modern interactive commandline shell" url="http://www.fishshell.com/" arch="all" license="GPL2" @@ -23,27 +23,26 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { cd "$builddir" - make install DESTDIR="$pkgdir" || return 1 + make install DESTDIR="$pkgdir" rm -fr "$pkgdir"/usr/share/$pkgname/groff } dev() { - default_dev || return 1 + default_dev mkdir -p "$subpkgdir"/usr/share mv "$pkgdir"/usr/share/pkgconfig "$subpkgdir"/usr/share } doc() { - default_doc || return 1 + default_doc mkdir -p "$subpkgdir"/usr/share/$pkgname mv "$pkgdir"/usr/share/$pkgname/man "$subpkgdir"/usr/share/$pkgname |