summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Milde2018-07-16 19:45:25 +0200
committerDaniel Milde2018-07-16 19:46:29 +0200
commit0d8aae3fa9af9fe5ef709c0d257a1b5f4c750717 (patch)
treee7bb472c743fc2a04cf678c05cbd3b08407901a1 /PKGBUILD
parent1067d2dee51e95c45d2aef2b5627246a32aa473e (diff)
downloadaur-0d8aae3fa9af9fe5ef709c0d257a1b5f4c750717.tar.gz
gegl 0.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 58adac98f39..33844a5b563 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,29 @@
pkgname=dibuja
pkgver=0.8.0
-pkgrel=2
+pkgrel=3
pkgdesc="Gtk based basic paint program like classic MS Paint or Paintbrush for Mac but for Linux"
url="https://launchpad.net/dibuja"
-source=("https://launchpad.net/dibuja/trunk/$pkgver/+download/dibuja-$pkgver.tar.gz")
-md5sums=('d52bff73ba5f18431220d6055ee78589')
+source=("https://launchpad.net/dibuja/trunk/$pkgver/+download/dibuja-$pkgver.tar.gz" "gegl-0.4.diff")
+md5sums=('d52bff73ba5f18431220d6055ee78589'
+ '45d19703bb686d56e5c982b33f83533d')
license=("GPL3")
arch=("x86_64")
-depends=(gtk2 gegl gegl02)
+depends=(gtk2 gegl)
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -Np0 -i "$srcdir/gegl-0.4.diff"
+}
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --libdir=/usr/lib
+ cd "$srcdir/$pkgname-$pkgver"
+ autoconf
+ ./configure --prefix=/usr --libdir=/usr/lib --with-gegl-0.4
make
}
package() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}