diff options
Diffstat (limited to 'community/grafx2/PKGBUILD')
-rw-r--r-- | community/grafx2/PKGBUILD | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/community/grafx2/PKGBUILD b/community/grafx2/PKGBUILD index bbd6c8d17..698ac86bd 100644 --- a/community/grafx2/PKGBUILD +++ b/community/grafx2/PKGBUILD @@ -1,43 +1,42 @@ -# $Id: PKGBUILD 72950 2012-06-25 12:33:19Z arodseth $ +# $Id: PKGBUILD 77732 2012-10-14 01:28:09Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Simon Parzer <simon.parzer@gmail.com> pkgname=grafx2 -pkgver=2.3 -pkgrel=2 -pkgdesc="Pixelart-oriented painting program" +pkgver=2.4 +pkgrel=1 +_pkgrev=2027 +pkgdesc='Pixelart-oriented painting program' arch=('x86_64' 'i686') -url="http://code.google.com/p/grafx2/" +url='http://code.google.com/p/grafx2/' license=('GPL2') install=grafx2.install depends=('sdl_ttf' 'sdl_image' 'lua' 'desktop-file-utils') makedepends=('gendesk' 'setconf') options=('!emptydirs') -source=("http://grafx2.googlecode.com/files/$pkgname-$pkgver.1781-src.tgz") -sha256sums=('b43fa837e30abfb0830f9a1b793a78ed690fbafdcd378e51197f01998bbf392e') +source=("http://grafx2.googlecode.com/files/$pkgname-$pkgver.$_pkgrev-src.tgz") +sha256sums=('97088d07f1bcd668c619da9f1efe7c5782da707306c90c05564df91f51afe9d7') _name=('GrafX2') _exec=('grafx2 %U') _genericname=('Drawing program') _mimetype=('image/bmp;image/gif;image/png;image/x-tga;image/tiff') build() { - cd "$srcdir" + cd $srcdir gendesk -n - setconf "$pkgname.desktop" Categories 'Graphics;2DGraphics;RasterGraphics' - cd "$pkgname/src" + setconf $pkgname.desktop Categories 'Graphics;2DGraphics;RasterGraphics' + cd $pkgname/src make } package() { - cd "$srcdir/$pkgname/src" + cd $srcdir/$pkgname/src - make prefix="/usr" DESTDIR="$pkgdir" install - install -Dm644 "$srcdir/$pkgname.desktop" \ - "$pkgdir/usr/share/applications/$pkgname.desktop" - install -Dm644 "$srcdir/$pkgname/doc/README.txt" \ - "$pkgdir/usr/share/doc/$pkgname/readme.txt" - install -Dm644 "$srcdir/$pkgname/doc/gpl-2.0.txt" \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + make prefix=/usr DESTDIR=$pkgdir install + install -Dm644 $srcdir/$pkgname.desktop \ + $pkgdir/usr/share/applications/$pkgname.desktop + install -Dm644 $srcdir/$pkgname/doc/README.txt \ + $pkgdir/usr/share/doc/$pkgname/readme.txt } # vim:set ts=2 sw=2 et: |