diff options
author | Márcio Alexandre Silva Delgado <coadde@adinet.com.uy> | 2012-09-05 17:42:34 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@adinet.com.uy> | 2012-09-05 17:42:34 -0300 |
commit | 800413cee9a01a1d37d01c20eb6e367909ae9509 (patch) | |
tree | 9fdc4aee834885badc670a17254fbba15f217ac7 /artistic/gimp-art/PKGBUILD | |
parent | 25f73595f5d6b349c430d2dc0b8016a2d27642f3 (diff) | |
download | abslibre-800413cee9a01a1d37d01c20eb6e367909ae9509.tar.gz abslibre-800413cee9a01a1d37d01c20eb6e367909ae9509.tar.bz2 abslibre-800413cee9a01a1d37d01c20eb6e367909ae9509.zip |
gimp-art: fixing package
Diffstat (limited to 'artistic/gimp-art/PKGBUILD')
-rw-r--r-- | artistic/gimp-art/PKGBUILD | 57 |
1 files changed, 32 insertions, 25 deletions
diff --git a/artistic/gimp-art/PKGBUILD b/artistic/gimp-art/PKGBUILD index 4236ce271..11c3b191b 100644 --- a/artistic/gimp-art/PKGBUILD +++ b/artistic/gimp-art/PKGBUILD @@ -1,17 +1,15 @@ -# $Id$ # Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> -_pkgname=gimp pkgname=gimp-art pkgver=2.8.2 -pkgrel=1 +pkgrel=2 pkgdesc='GNU Image Manipulation Program (changed splash artwork)' arch=( i686 x86_64 mips64el ) -url=http://www.$_pkgname.org/ +url=http://www.${pkgname%-art}.org/ license=( GPL LGPL @@ -50,18 +48,21 @@ optdepends=( 'poppler-glib: for pdf support' ) options=( - '!libtool' - '!makeflags' + !libtool + !makeflags ) conflicts=( - $_pkgname - $_pkgname-devel + ${pkgname%-art} + ${pkgname%-art}-devel ) -install=$_pkgname.install +provides=( + ${pkgname%-art}=$pkgver +) +install=${pkgname%-art}.install source=( - ftp://ftp.$_pkgname.org/pub/$_pkgname/v${pkgver%.*}/$_pkgname-$pkgver.tar.bz2 - $_pkgname-splash-artwork.png - $_pkgname-splash-artwork.license + ftp://ftp.${pkgname%-art}.org/pub/${pkgname%-art}/v${pkgver%.*}/${pkgname%-art}-$pkgver.tar.bz2 + ${pkgname%-art}-splash-artwork.png + ${pkgname%-art}-splash-artwork.license ) sha512sums=( 82a15072aba97d41a7dd74920f5db4e89442ff83841ac614f6fadfd964bdb8d3ae478ac0ba2e906bcf4569c8de00a1616fd6d626032f093060f28df3655d9111 @@ -70,29 +71,35 @@ sha512sums=( ) build() { - cd $srcdir/$_pkgname-$pkgver + cd $srcdir/${pkgname%-art}-$pkgver ## Add artwork splash image ## - install -Dm644 $srcdir/$_pkgname-splash-artwork.png \ - $srcdir/$_pkgname-$pkgver/data/images/$_pkgname-splash.png + install -Dm644 $srcdir/${pkgname%-art}-splash-artwork.png \ + $srcdir/${pkgname%-art}-$pkgver/data/images/${pkgname%-art}-splash.png - PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ - --enable-mp --enable-$_pkgname-console --enable-python --without-aa \ - --with-gif-compression=lzw --with-libcurl --without-gvfs + PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ + --enable-${pkgname%-art}-console \ + --enable-mp \ + --enable-python \ + --sysconfdir=/etc \ + --with-gif-compression=lzw \ + --with-libcurl \ + --without-aa \ + --without-gvfs make } package() { - cd $srcdir/$_pkgname-$pkgver + cd $srcdir/${pkgname%-art}-$pkgver make DESTDIR=$pkgdir install - sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $pkgdir/usr/lib/$_pkgname/${pkgver::2}0/plug-ins/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $pkgdir/usr/lib/${pkgname%-art}/${pkgver::2}0/plug-ins/*.py ## Add artwork splash license ## - install -Dm644 $srcdir/$_pkgname-splash-artwork.license \ - $pkgdir/usr/share/licenses/$_pkgname/$_pkgname-splash-artwork.license + install -Dm644 $srcdir/${pkgname%-art}-splash-artwork.license \ + $pkgdir/usr/share/licenses/${pkgname%-art}/${pkgname%-art}-splash-artwork.license rm $pkgdir/usr/share/man/man1/$_pkgname-console.1 - ln -s $_pkgname-console-${pkgver%.*}.1.gz $pkgdir/usr/share/man/man1/$_pkgname-console.1.gz - ln -s ${_pkgname}tool-${pkgver::2}0 $pkgdir/usr/bin/${_pkgname}tool - ln -sf ${_pkgname}tool-${pkgver::2}0.1.gz $pkgdir/usr/share/man/man1/${_pkgname}tool.1.gz + ln -s ${pkgname%-art}-console-${pkgver%.*}.1.gz $pkgdir/usr/share/man/man1/${pkgname%-art}-console.1.gz + ln -s ${pkgname%-art}tool-${pkgver::2}0 $pkgdir/usr/bin/${pkgname%-art}tool + ln -sf ${pkgname%-art}tool-${pkgver::2}0.1.gz $pkgdir/usr/share/man/man1/${pkgname%-art}tool.1.gz } |