blob: 3e891b4f1ba7fa231c7881875ed39c0ad9f3fe24 (
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
31
32
33
34
35
36
37
38
39
|
# Maintainer: Iru Cai <mytbk920423@gmail.com>
# build for gimp-git, with gegl support
pkgname=libmypaint-git
pkgver=1.1.r545
pkgrel=1
pkgdesc="a library for making brushstrokes which is used by MyPaint and other projects"
arch=('i686' 'x86_64')
url="http://mypaint.org/"
license=('ISC')
depends=('gegl' 'babl' 'json-c')
makedepends=('scons' 'python')
source=('git+https://github.com/mypaint/libmypaint.git')
md5sums=('SKIP')
build() {
true
}
package() {
cd "$srcdir/libmypaint"
scons prefix=/usr enable_gegl=true use_sharedlib=yes \
--install-sandbox="$pkgdir" "$pkgdir"
install -d "$pkgdir/usr/share/licenses/$pkgname"
cp COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
pkgver() {
cd "$srcdir/libmypaint"
ver=1.1 # use the brushlib_version in SConscript
count=$(git rev-list --count HEAD)
# commit=$(git rev-parse --short HEAD)
echo $ver.r$count
}
# vim:set ts=2 sw=2 et:
|