[arch-commits] Commit in ocaml/trunk (PKGBUILD)

Jürgen Hötzel juergen at archlinux.org
Fri May 31 05:45:10 UTC 2019


    Date: Friday, May 31, 2019 @ 05:45:10
  Author: juergen
Revision: 354552

fix manpage location

Modified:
  ocaml/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-31 05:37:34 UTC (rev 354551)
+++ PKGBUILD	2019-05-31 05:45:10 UTC (rev 354552)
@@ -3,7 +3,7 @@
 pkgbase='ocaml'
 pkgname=('ocaml' 'ocaml-compiler-libs')
 pkgver=4.07.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A functional language with OO extensions"
 arch=('x86_64')
 license=('LGPL2.1' 'custom: QPL-1.0')
@@ -17,13 +17,13 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure -prefix /usr -x11include /usr/include
+  ./configure -prefix /usr -x11include /usr/include -mandir '$(PREFIX)/share/man'
   make world.opt
 }
 
 package_ocaml() {
   cd "${srcdir}/${pkgbase}-${pkgver}"
-  make PREFIX="${pkgdir}/usr" MANDIR="${pkgdir}/usr/share/man" install
+  make PREFIX="${pkgdir}/usr" install
 
   # Save >10MB with this one, makepkg only strips debug symbols.
   #find "${pkgdir}/usr/lib" -type f -name '*.so.*' -exec strip --strip-unneeded {} \;



More information about the arch-commits mailing list