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

Jelle van der Waa jelle at archlinux.org
Wed Dec 4 20:01:19 UTC 2019


    Date: Wednesday, December 4, 2019 @ 20:01:19
  Author: jelle
Revision: 370404

upgpkg: nyacc 0.99.2-3

Fix guile site location installation.

Modified:
  nyacc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-04 19:32:56 UTC (rev 370403)
+++ PKGBUILD	2019-12-04 20:01:19 UTC (rev 370404)
@@ -3,7 +3,7 @@
 
 pkgname=nyacc
 pkgver=0.99.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Not Yet Another Compiler Compiler"
 url="http://www.nongnu.org/nyacc"
 arch=('any')
@@ -17,15 +17,11 @@
 
 build() {
   cd $pkgname-$pkgver
-  GUILD=/usr/bin/guild ./configure 
+  ./configure --prefix=/usr
   make
 }
  
 package() {
   cd $pkgname-$pkgver
-  make SITE_SCM_DIR="$pkgdir"/usr/share/guile/2.2/ \
-       SITE_SCM_GO_dir="$pkgdir"/usr/lib/guile/2.2/ccache install-srcs
-  install -d "$pkgdir"/usr/share/doc/$pkgname
-  cd doc/$pkgname
-  cp nyacc*.{pdf,html} "$pkgdir"/usr/share/doc/$pkgname
+  make install DESTDIR=$pkgdir
 }



More information about the arch-commits mailing list