updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / grafx2 / PKGBUILD
blob3a028dcf177cabeb9d2359d5d7f26a53650b806c
1 pkgname=grafx2
2 pkgver=2.3.1781
3 pkgrel=1
4 pkgdesc="A pixelart-oriented painting program"
5 arch=('i686' 'x86_64')
6 url="http://code.google.com/p/grafx2/"
7 license=('GPL2')
8 depends=('sdl_ttf' 'sdl_image' 'bash' 'lua')
9 source=(http://grafx2.googlecode.com/files/$pkgname-$pkgver-src.tgz)
10 md5sums=('916a35c4762e85b4210a1041fbbfd830')
12 build() {
13     cd "$srcdir/$pkgname/src"
14     install -Dm644 "$srcdir/$pkgname/doc/gpl-2.0.txt" \
15         "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1   
16     install -Dm644 "$srcdir/$pkgname/doc/README.txt" \
17         "$pkgdir/usr/share/doc/$pkgname/readme.txt" || return 1
18     make || return 1
19     make prefix="/usr" DESTDIR="$pkgdir" install