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

Jürgen Hötzel juergen at archlinux.org
Tue Dec 22 12:39:27 UTC 2015


    Date: Tuesday, December 22, 2015 @ 13:39:26
  Author: juergen
Revision: 257120

Remove references to the build root  in Makefile.config

Modified:
  bigloo/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++++
 1 file changed, 11 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-22 12:33:32 UTC (rev 257119)
+++ PKGBUILD	2015-12-22 12:39:26 UTC (rev 257120)
@@ -53,4 +53,15 @@
 	"${pkgdir}"${elisp_dir}/images/*
 
   rm ${pkgdir}/usr/bin/{bglafile,bigloo}.sh
+
+  # Remove references to the build root
+  sed -e "s|^BOOTDIR=.*|BOOTDIR=/usr|g" \
+      -e "s|^BOOTBINDIR=.*|BOOTBINDIR=/usr/bin|g" \
+      -e "s|^BOOTLIBDIR=.*|BOOTLIBDIR=/usr/lib/bigloo/${pkgver}|g" \
+      -e "s|^BGLBUILDBINDIR=.*|BGLBUILDBINDIR=/usr/bin|g" \
+      -e "s|^BGLBUILDLIBDIR=.*|BGLBUILDLIBDIR=/usr/lib/bigloo/${pkgver}|g" \
+      -e "s|^\(BIGLOO=.*\)\.sh|\1|" \
+      -e "s|^\(BGL.*=.*\)\.sh|\1|" \
+      -i  ${pkgdir}/usr/lib/bigloo/${pkgver}/Makefile.config
+
 }



More information about the arch-commits mailing list