diff options
author | haawda | 2017-05-11 22:10:48 +0200 |
---|---|---|
committer | haawda | 2017-05-11 22:10:48 +0200 |
commit | 5bea37a3fb4f1d805fe7cb0aa5c99c0621a6820c (patch) | |
tree | 8cb5cd20cad22e0ad78f5fb3ce253e278d3c16c4 | |
parent | be76867737b44c6592a9c33e77f821d3119d23fe (diff) | |
download | aur-5bea37a3fb4f1d805fe7cb0aa5c99c0621a6820c.tar.gz |
update with patch added
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 26 | ||||
-rw-r--r-- | package.patch | 12 |
3 files changed, 38 insertions, 10 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Thu May 11 20:09:49 UTC 2017 pkgbase = nyacc pkgdesc = Not Yet Another Compiler Compiler - pkgver = 0.76.5 + pkgver = 0.78.1 pkgrel = 1 url = http://www.nongnu.org/nyacc arch = any @@ -8,8 +10,10 @@ pkgbase = nyacc license = LGPL license = GFDL depends = guile - source = https://download.savannah.gnu.org/releases/nyacc/nyacc-0.76.5.tar.gz - sha256sums = 8085fa68829eb49215786eb3a1f5b7e06944a10d3bedc78c9edf6a4dfbac78a2 + source = https://download.savannah.gnu.org/releases/nyacc/nyacc-0.78.1.tar.gz + source = package.patch + sha256sums = be37f850857e1b68cc9065afe9949755d6c04445fdf1cdd5fa5b25f5c9a0f905 + sha256sums = 90c25cd1f901c89e128dd1bab17aae5fae6b17e44198884a7a2450dff1dbe0c0 pkgname = nyacc @@ -1,7 +1,7 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=nyacc -pkgver=0.76.5 +pkgver=0.78.1 pkgrel=1 pkgdesc="Not Yet Another Compiler Compiler" url="http://www.nongnu.org/nyacc" @@ -9,15 +9,27 @@ arch=('any') license=('GPL' 'LGPL' 'GFDL') depends=('guile') makedepends=() -source=(https://download.savannah.gnu.org/releases/nyacc/$pkgname-$pkgver.tar.gz) -sha256sums=('8085fa68829eb49215786eb3a1f5b7e06944a10d3bedc78c9edf6a4dfbac78a2') +source=(https://download.savannah.gnu.org/releases/nyacc/$pkgname-$pkgver.tar.gz package.patch) +sha256sums=('be37f850857e1b68cc9065afe9949755d6c04445fdf1cdd5fa5b25f5c9a0f905' + '90c25cd1f901c89e128dd1bab17aae5fae6b17e44198884a7a2450dff1dbe0c0') prepare() { - cd $pkgname-$pkgver/module - sed 's+DIR=+DIR=$(DESTDIR)+' Makefile.nyacc > Makefile + cd $pkgname-$pkgver + patch -Np1 < "$srcdir"/package.patch } +build() { + cd $pkgname-$pkgver + ./configure --site_scm_dir=/usr/share/guile/2.2/ --site_scm_go_dir=/usr/lib/guile/2.2/ccache + make + cd doc/$pkgname +} + package() { - cd $pkgname-$pkgver/module - make DESTDIR=$pkgdir install + 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 } diff --git a/package.patch b/package.patch new file mode 100644 index 000000000000..e5f956e712dc --- /dev/null +++ b/package.patch @@ -0,0 +1,12 @@ +diff -Naur nyacc-0.78.1.orig/Makefile.in nyacc-0.78.1.new/Makefile.in +--- nyacc-0.78.1.orig/Makefile.in 2017-05-07 16:08:56.000000000 +0200 ++++ nyacc-0.78.1.new/Makefile.in 2017-05-11 21:13:04.927748623 +0200 +@@ -18,7 +18,7 @@ + (cd module; \ + make -f Makefile.nyacc GUILE=$(GUILE) \ + SITE_SCM_DIR=$(SITE_SCM_DIR) \ +- SITE_SCM_GO_DIR=$(SITE_SCM_GO_DIR) ++ SITE_SCM_GO_DIR=$(SITE_SCM_GO_DIR) \ + install) + + install-srcs: |