updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / xpaint / PKGBUILD
blob67219d3b62cc33aa687edf85c58c076a59314a2d
1 # Contributor: erm67
2 # Contributor: Stefan Husmann <Stefan-Husmann@t-online.de>
3 pkgname=xpaint
4 pkgver=2.9.8.4
5 pkgrel=1
6 pkgdesc="A color image editing tool which features most standard \
7 paint program options."
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/projects/sf-xpaint/"
10 license=('GPL')
11 depends=('xaw3d' 'openjpeg' 'libpng' 'libtiff' 'libxft')
12 makedepends=('imake')
13 optdepends=('gv: external viewer for PostScript output' 'imagemagick: external viewer for pixel graphics')
14 source=(xpaint.desktop \
15 http://downloads.sourceforge.net/sourceforge/sf-$pkgname/$pkgname-$pkgver.tar.bz2)
16 md5sums=('3c532dc3bb0b66afc022cbb58db609af'
17          'b61fd579841bfbc26b726191396397f9')
18 options=('!makeflags')
20 build() {
21   cd $srcdir/$pkgname-$pkgver
22   ./configure 
23   make xaw3d 
25 package() {
26   cd $srcdir/$pkgname-$pkgver
27   make DESTDIR=$pkgdir install
28   install -Dm644 XPaintIcon.xpm $pkgdir/usr/share/pixmaps/XPaintIcon.xpm
29   install -Dm644 $srcdir/$pkgname.desktop \
30     $pkgdir/usr/share/applications/$pkgname.desktop
31   rm $pkgdir/usr/share/xpaint/XPaintIcon.xpm