[arch-commits] Commit in ocaml-easy-format/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Wed Nov 28 00:09:37 UTC 2018
Date: Wednesday, November 28, 2018 @ 00:09:36
Author: archange
Revision: 410266
Update to latest dune
Modified:
ocaml-easy-format/trunk/PKGBUILD
----------+
PKGBUILD | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-28 00:08:46 UTC (rev 410265)
+++ PKGBUILD 2018-11-28 00:09:36 UTC (rev 410266)
@@ -26,11 +26,7 @@
package() {
cd ${_pkgname}-${pkgver}
-
- # Work around install command
- dune install --prefix="${pkgdir}"/usr/ --libdir="${pkgdir}$(ocamlfind printconf destdir)"
-
- # Install LICENSE
+ DESTDIR="${pkgdir}" dune install --prefix=/usr --libdir="$(ocamlfind printconf destdir)"
install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
rm -r "${pkgdir}"/usr/doc
}
More information about the arch-commits
mailing list