summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 33844a5b563cf7e63c8cce10f2eab6702c0ee0e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Daniel Milde <daniel at milde dot cz>

pkgname=dibuja
pkgver=0.8.0
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" "gegl-0.4.diff")
md5sums=('d52bff73ba5f18431220d6055ee78589'
         '45d19703bb686d56e5c982b33f83533d')
license=("GPL3")
arch=("x86_64")
depends=(gtk2 gegl)

prepare() {
    cd "$srcdir/$pkgname-$pkgver"
    patch -Np0 -i "$srcdir/gegl-0.4.diff"
}

build() {
    cd "$srcdir/$pkgname-$pkgver"
    autoconf
    ./configure --prefix=/usr --libdir=/usr/lib --with-gegl-0.4
    make
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
}