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

Massimiliano Torromeo mtorromeo at archlinux.org
Wed Nov 19 14:26:41 UTC 2014


    Date: Wednesday, November 19, 2014 @ 15:26:41
  Author: mtorromeo
Revision: 122752

upgpkg: oniguruma 5.9.5-2

Added oniguruma in [community] as a dependency for hhvm

Modified:
  oniguruma/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-19 14:25:59 UTC (rev 122751)
+++ PKGBUILD	2014-11-19 14:26:41 UTC (rev 122752)
@@ -14,12 +14,17 @@
 sha256sums=('9f49ae7819a5f47e25449d0e4b010d479f7868a24a7b9884b47041b49a76438a')
 
 build() {
-	cd "$srcdir/onig-$pkgver"
+	cd "$srcdir"/onig-$pkgver
 	./configure --prefix=/usr
 	make
 }
 
 package() {
-	cd "$srcdir/onig-$pkgver"
+	cd "$srcdir"/onig-$pkgver
 	make DESTDIR="$pkgdir" install
+	install -dm755 "$pkgdir"/usr/share/doc
+	cp -r doc "$pkgdir"/usr/share/doc/$pkgname
+	for licfile in COPYING INSTALL; do
+		install -Dm644 $licfile "$pkgdir"/usr/share/licenses/$pkgname/$licfile
+	done
 }


More information about the arch-commits mailing list