summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2014-05-08 17:35:28 -0600
committerBrian Bidulock2015-07-13 18:28:23 -0600
commit7042900a2023676a2ed40eaca253564a5697d712 (patch)
tree1ac218ecc0d30b59b5102f005c65cb156781de30
parent392bec3a39eaf0c88b72aaf598583fbf4d18a7f5 (diff)
downloadaur-7042900a2023676a2ed40eaca253564a5697d712.tar.gz
version 2.9.10.2-2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 54dda2872e74..fee0d5a35e86 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xpaint
pkgdesc = A color image editing tool which features most standard paint program options.
pkgver = 2.9.10.2
- pkgrel = 1
+ pkgrel = 2
url = http://sourceforge.net/projects/sf-xpaint/
arch = i686
arch = x86_64
@@ -18,8 +18,10 @@ pkgbase = xpaint
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
index e6b056ea6b35..c220b5107dba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Stefan Husmann <Stefan-Husmann@t-online.de>
pkgname=xpaint
pkgver=2.9.10.2
-pkgrel=1
+pkgrel=2
pkgdesc="A color image editing tool which features most standard \
paint program options."
arch=('i686' 'x86_64')
@@ -10,8 +10,8 @@ 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)
-md5sums=('68059359a756fea5914bcc541899bc5b' 'SKIP')
+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() {
@@ -20,13 +20,14 @@ prepare() {
[ -f config.status ] && rm config.status
[ -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
- automake --add-missing
- ./configure --prefix=/usr
+ XAPPLOADIR=$SHAREDIR/X11 automake --add-missing
+ ./configure --prefix=/usr
make
}