[arch-commits] Commit in ocaml/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Thu Nov 24 04:22:27 UTC 2011
Date: Wednesday, November 23, 2011 @ 23:22:26
Author: eric
Revision: 143257
upgpkg: ocaml 3.12.1-3
Rebuild against gdbm 1.10, Add missing license file
Modified:
ocaml/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-11-24 02:15:11 UTC (rev 143256)
+++ PKGBUILD 2011-11-24 04:22:26 UTC (rev 143257)
@@ -4,7 +4,7 @@
pkgbase='ocaml'
pkgname=('ocaml' 'ocaml-compiler-libs')
pkgver=3.12.1
-pkgrel=2
+pkgrel=3
pkgdesc="A functional language with OO extensions"
arch=('i686' 'x86_64')
license=('LGPL2' 'custom: QPL-1.0')
@@ -27,7 +27,7 @@
make PREFIX="${pkgdir}/usr" MANDIR="${pkgdir}/usr/share/man" install
# Save >10MB with this one, makepkg only strips debug symbols.
- #find ${startdir}/pkg/usr/lib -type f -name '*.so.*' -exec strip --strip-unneeded {} \;
+ #find "${pkgdir}/usr/lib" -type f -name '*.so.*' -exec strip --strip-unneeded {} \;
# install license
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
@@ -50,4 +50,8 @@
cp utils/*.{cmi,cmo,cmx,ml,mli,o} "$compiler_libs"/utils
# duplicated by installation
rm -f "$compiler_libs"/typing/outcometree.{cmi,mli}
+
+ # install license
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}
More information about the arch-commits
mailing list