summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aaf2ee9803d82cc2a747e3d92c85de92e817871b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: big_gie nbigaouette . at . gmail.com

pkgname=gri-git
pkgver=2.12.22.85.g7ecf421
pkgrel=2
pkgdesc="A script-based language for scientific graphics programming"
arch=('i686' 'x86_64')
license=('GPL')
url="http://gri.sourceforge.net/"
depends=('perl')
makedepends=('ghostscript' 'imagemagick6' 'texlive-core' 'perl-perl4-corelibs')
source=("git+https://github.com/dankelley/gri.git")
sha256sums=('SKIP')
options=('!makeflags')

pkgver() {
  cd ${pkgname%-git}
  git describe --tags | tr - .
}

build() {
  cd ${pkgname%-git}
  aclocal
  autoconf
  automake --add-missing
  CXXFLAGS+=" -fpermissive" ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname%-git}
  make DESTDIR=$pkgdir install
}