updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / g3data / PKGBUILD
blobe2ba29a3c9811527f8cd1477cdebd5f27d0c051f
1 # Maintainer: Dominik Fuchs <dominik.fuchs@wur.nl>
2 # Contributor: Michele Vascellari
4 pkgname=g3data
5 pkgver=1.5.3    
6 pkgrel=1
7 pkgdesc="Software tool for extracting data from published graphs."
8 arch=('i686' 'x86_64')
9 url="http://www.frantz.fi/software/g3data.php"
10 license=('GPL3')
11 depends=('gtk2>=2.6')
12 makedepends=()
13 source=(http://www.frantz.fi/software/${pkgname}-${pkgver}.tar.gz
14         g3data.desktop
15     ${pkgname}-${pkgver}.patch)
17 md5sums=('21c37526dff8601d699fa511c9d5bc36'
18          '01e3d008154a0b093316cf93c4812fd5'
19          '99cdd68f6b42d1641db63d6284c930cc')
21 build() {
22     rm -rf "$srcdir/$pkgname-build"
23     cp -r $srcdir/$pkgname-$pkgver $pkgname-build
25         cd $srcdir/$pkgname-build
26     patch -Np1 -i $srcdir/${pkgname}-${pkgver}.patch
27     rm -f g3data
28         mkdir -p $pkgdir/usr/{bin,share/{man,applications}}
30         export bindir=$startdir/pkg/usr/bin
31         export mandir=$startdir/pkg/usr/share/man
32         make || return 1
33         make install || return 1
34         install -m644 $startdir/g3data.desktop $pkgdir/usr/share/applications/g3data.desktop