diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-07 00:56:17 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-07 01:33:56 +0100 |
commit | e046629b0ec42d6293b2f41606ff23199776da83 (patch) | |
tree | 4c42c8e32b6f021415761ba333815b163b0de5bf /community/ocaml-findlib | |
parent | de9a548c4a93e2562fd90c84172940d595ec4ec6 (diff) | |
download | aports-e046629b0ec42d6293b2f41606ff23199776da83.tar.bz2 aports-e046629b0ec42d6293b2f41606ff23199776da83.tar.xz |
community/ocaml-findlib: modernize abuild
Diffstat (limited to 'community/ocaml-findlib')
-rw-r--r-- | community/ocaml-findlib/APKBUILD | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/community/ocaml-findlib/APKBUILD b/community/ocaml-findlib/APKBUILD index 1d766af6ca..4eba03c55e 100644 --- a/community/ocaml-findlib/APKBUILD +++ b/community/ocaml-findlib/APKBUILD @@ -23,14 +23,14 @@ build() { ./configure \ -sitelib /usr/lib/ocaml \ -mandir /usr/share/man \ - -config /etc/$_pkgname.conf || return 1 + -config /etc/$_pkgname.conf make -j1 all opt } package() { cd "$builddir" - make prefix="$pkgdir" install || return 1 + make install prefix="$pkgdir" mkdir -p "$pkgdir"/usr/share/doc/$_pkgname/ install -m 644 doc/README doc/QUICKSTART \ @@ -40,7 +40,7 @@ package() { dev() { local sitelib="usr/lib/ocaml/$_pkgname" - default_dev || return 1 + default_dev cd "$pkgdir" mkdir -p "$subpkgdir"/$sitelib @@ -50,9 +50,5 @@ dev() { "$subpkgdir"/$sitelib/ } -md5sums="530ff275d6b96e140f0d3a03ed14b68e findlib-1.6.2.tar.gz -c04881f3c22cd76995cec2e43cdbf5dd Makefile.patch" -sha256sums="3917904342ffbb66089f9fec1adc023b8854178bc21f303e4cbf96b8b164c946 findlib-1.6.2.tar.gz -bd89122837bc304f89dcd438e174d681fa145d80299ef3af1f6f71a08a8143ab Makefile.patch" sha512sums="8c4098e6956530bc88d20a1b91512c68368e8a866398ce4d504afe3f71e81124c01644ba31ff97da6e61e7410328b533fb1d31a513166231047dab1933179fc4 findlib-1.6.2.tar.gz e6f9b0d4519518b01665142061f07f329ab8a4ced0c6b8c7aaa3dd8801548a2154616da7369e9d923635fb5c1d16e77623acb51c235f2141aa25357c907de9af Makefile.patch" |