blob: 542b5a2baa6ccd5bba01aa2a18f186b11f147bf9 (
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
36
|
# 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.23.r20.gd9969d1
pkgrel=1
pkgdesc="A script-based language for scientific graphics programming"
arch=('i686' 'x86_64')
license=('GPL')
url="http://gri.sourceforge.net/"
depends=('perl')
conflicts=('gri')
provides=('gri')
makedepends=('git' 'ghostscript' 'imagemagick' 'texlive-core' 'perl-perl4-corelibs')
source=("git+https://github.com/dankelley/gri.git")
sha256sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
git describe --tags | sed 's+-+.r+' | tr - . | cut -c2-
}
build() {
cd ${pkgname%-git}
aclocal
autoconf
automake --add-missing
CXXFLAGS+=" -fpermissive" ./configure --prefix=/usr
make
}
package() {
cd ${pkgname%-git}
make DESTDIR=$pkgdir install
}
|