diff options
author | Stefan Husmann | 2015-06-09 00:24:59 +0200 |
---|---|---|
committer | Stefan Husmann | 2015-06-09 00:24:59 +0200 |
commit | e394692a2bfa085f57d52ee00e975d770048b505 (patch) | |
tree | 19dc6e556d5fabf0da2f0f7309931edd6306f09f | |
download | aur-e394692a2bfa085f57d52ee00e975d770048b505.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | gri.install | 18 |
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f30e29375c7b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = gri + pkgdesc = A script-based language for scientific graphics programming + pkgver = 2.12.23 + pkgrel = 6 + url = http://gri.sourceforge.net/ + install = gri.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = ghostscript + makedepends = imagemagick + makedepends = texlive-core + depends = perl-perl4-corelibs + options = !makeflags + source = http://downloads.sourceforge.net/gri/gri-2.12.23.tar.gz + md5sums = eabd37f80ac51f7aef83a89234fb6522 + +pkgname = gri + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f1211d017d38 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: big_gie nbigaouette . at . gmail.com + +pkgname=gri +pkgver=2.12.23 +pkgrel=6 +pkgdesc="A script-based language for scientific graphics programming" +arch=('i686' 'x86_64') +license=('GPL') +url="http://gri.sourceforge.net/" +depends=('perl-perl4-corelibs') +makedepends=('ghostscript' 'imagemagick' 'texlive-core') +source=(http://downloads.sourceforge.net/gri/$pkgname-$pkgver.tar.gz) +md5sums=('eabd37f80ac51f7aef83a89234fb6522') +install=gri.install +options=('!makeflags') + +prepare() { + sed -i '18489s+@subsubsection+@subsection+' $srcdir/$pkgname-$pkgver/doc/gri.texi +} + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install +} diff --git a/gri.install b/gri.install new file mode 100644 index 000000000000..578968e391c3 --- /dev/null +++ b/gri.install @@ -0,0 +1,18 @@ +infodir=usr/share/info +filelist=(gri.info.gz) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} |