-
Notifications
You must be signed in to change notification settings - Fork 16
/
PKGBUILD
31 lines (26 loc) · 938 Bytes
/
PKGBUILD
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
31
pkgname=libmypaint
pkgver=1.6.1
_pkgver=1.6.1
pkgrel=2
pkgdesc="Brushlib, is a library for making brushstrokes which is used by GIMP"
arch=('x86_64')
url="https://github.com/mypaint/libmypaint"
license=('ISC')
depends=('gegl' 'gobject-introspection' 'json-c')
makedepends=('intltool' 'python3')
source=("https://github.com/mypaint/libmypaint/releases/download/v${_pkgver}/${pkgname}-${_pkgver}.tar.xz"
'gegl0.4.x.patch')
sha256sums=('741754f293f6b7668f941506da07cd7725629a793108bb31633fb6c3eae5315f'
'beb4f87a37bd8b36138710541d890e505aa3d73ddfded0c16e321f01aae7e170')
build() {
cd ${pkgname}-${_pkgver}
#patch -p1 -i ${srcdir}/gegl0.4.x.patch
#sed -i -e 's|gegl-0.3 >= 0.3|gegl-0.4 >= 0.4.16|g' configure
./configure --prefix=/usr --enable-gegl
make
}
package() {
cd ${pkgname}-${_pkgver}
make DESTDIR=${pkgdir} install
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}