diff options
author | Brian Bidulock | 2015-07-13 18:28:21 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-07-13 18:28:21 -0600 |
commit | 6365bbc535217f381aa2aecc9312a255e8013eed (patch) | |
tree | dd681f49df55f3c34bb1e8bcd21122cf6d5add73 | |
download | aur-6365bbc535217f381aa2aecc9312a255e8013eed.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 39 | ||||
-rw-r--r-- | X11app.patch | 19 |
3 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8e20dd77ce80 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = xpaint + pkgdesc = A color image editing tool which features most standard paint program options. + pkgver = 2.9.10.2 + pkgrel = 4 + url = http://sourceforge.net/projects/sf-xpaint/ + arch = i686 + arch = x86_64 + license = GPL + depends = libxaw3dxft + depends = libpgf + depends = libpng + depends = libtiff + depends = libxft + depends = libxpm + depends = openjpeg + optdepends = gv: external viewer for PostScript output + optdepends = imagemagick: external viewer for pixel graphics + options = !makeflags + source = http://downloads.sourceforge.net/sourceforge/sf-xpaint/xpaint-2.9.10.2.tar.bz2 + source = git+https://gist.github.com/10018613.git + source = X11app.patch + md5sums = 68059359a756fea5914bcc541899bc5b + md5sums = SKIP + md5sums = 10b3d1053a8a9f8d1707fd45b7154b68 + +pkgname = xpaint + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..77cf7e4c7fe2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Contributor: erm67 +# Contributor: Stefan Husmann <Stefan-Husmann@t-online.de> +pkgname=xpaint +pkgver=2.9.10.2 +pkgrel=4 +pkgdesc="A color image editing tool which features most standard \ +paint program options." +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/sf-xpaint/" +license=('GPL') +depends=('libxaw3dxft' 'libpgf' 'libpng' 'libtiff' 'libxft' 'libxpm' 'openjpeg') +optdepends=('gv: external viewer for PostScript output' 'imagemagick: external viewer for pixel graphics') +source=(http://downloads.sourceforge.net/sourceforge/sf-$pkgname/$pkgname-$pkgver.tar.bz2 git+https://gist.github.com/10018613.git X11app.patch) +md5sums=('68059359a756fea5914bcc541899bc5b' 'SKIP' '10b3d1053a8a9f8d1707fd45b7154b68') +options=('!makeflags') + +prepare() { + cd $srcdir/$pkgname-$pkgver + [ -L xaw_incdir ] && rm xaw_incdir + ln -s /usr/include/X11/Xaw3dxft xaw_incdir + patch -p1 < $srcdir/X11app.patch +} + +build() { + cd $srcdir/$pkgname-$pkgver + aclocal + XAPPLOADIR=$SHAREDIR/X11 automake --add-missing + CC=gcc ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + install -Dm644 XPaintIcon.xpm $pkgdir/usr/share/pixmaps/XPaintIcon.xpm + install -Dm644 $srcdir/10018613/$pkgname.desktop \ + $pkgdir/usr/share/applications/$pkgname.desktop + rm $pkgdir/usr/share/xpaint/XPaintIcon.xpm +} diff --git a/X11app.patch b/X11app.patch new file mode 100644 index 000000000000..bbeaf1bf4d5d --- /dev/null +++ b/X11app.patch @@ -0,0 +1,19 @@ +diff -Naur xpaint-2.9.10.2.orig/Makefile.am xpaint-2.9.10.2.new/Makefile.am +--- xpaint-2.9.10.2.orig/Makefile.am 2014-04-24 21:04:21.854869178 +0200 ++++ xpaint-2.9.10.2.new/Makefile.am 2014-04-24 21:05:22.407819283 +0200 +@@ -3,7 +3,7 @@ + ## Local Configuration arguments + BINDIR = $(prefix)/bin + SHAREDIR = $(prefix)/share/xpaint +-XAPPLOADDIR = /etc/X11/app-defaults ++XAPPLOADDIR = $(prefix)/share/X11/app-defaults + + ## Printing system defaults + PRINT_COMMAND = lpr +@@ -146,4 +146,4 @@ + cd util ; make clean + + distclean-local: +- cd util ; make distclean +\ No newline at end of file ++ cd util ; make distclean |