diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-06 23:41:07 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-07 01:33:55 +0100 |
commit | b99eda97846a3e152273942fb1e8f07b02bf62fc (patch) | |
tree | 5266d079c13b0170a5eb182b58561452019fcb53 /testing/ocaml-cppo | |
parent | 9a9bc30b69ca2be150c389993512400fe72d8706 (diff) | |
download | aports-b99eda97846a3e152273942fb1e8f07b02bf62fc.tar.bz2 aports-b99eda97846a3e152273942fb1e8f07b02bf62fc.tar.xz |
testing/ocaml-cppo: remove .ml files from -dev
Diffstat (limited to 'testing/ocaml-cppo')
-rw-r--r-- | testing/ocaml-cppo/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/ocaml-cppo/APKBUILD b/testing/ocaml-cppo/APKBUILD index e2b109da4c..fbeb2cf64c 100644 --- a/testing/ocaml-cppo/APKBUILD +++ b/testing/ocaml-cppo/APKBUILD @@ -33,11 +33,14 @@ package() { --destdir="$pkgdir/usr" \ --libdir="$pkgdir/usr/lib/ocaml" - # Remove compiled tests - rm -Rf "$pkgdir"/usr/lib/ocaml/$_pkgname*/*.cmt* + cd "$pkgdir" + + # Remove annotation files and sources. + rm -Rf usr/lib/ocaml/$_pkgname*/*.cmt* + rm -Rf usr/lib/ocaml/$_pkgname*/*.ml # Nothing interesting here. - rm -Rf "$pkgdir"/usr/doc + rm -Rf usr/doc } dev() { @@ -48,7 +51,7 @@ dev() { cd "$pkgdir"/$sitelib mkdir -p "$subpkgdir"/$sitelib - mv *.cmx *.cmxa *.ml *.mli "$subpkgdir"/$sitelib/ + mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/ } sha512sums="89c6df66d597d929be7532ad82f0206b028bdbd79a0b4b39451bce3fa5bd63a80dce931d575f69bd7066de829347498c736657dfe9610b20700a652b9b542a4d ocaml-cppo-1.6.4.tar.gz" |