blob: f91d9fd2d646c11bdad702b4565ec87efae0ef8c (
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
40
41
42
43
44
|
# Maintainer: Márcio Silva <coadde@parabola.nu>
# based of babl
_pkgname=babl
pkgname=babl-git
pkgver=r933.37947d1
pkgrel=1
pkgdesc="Dynamic, any to any, pixel format conversion library"
arch=('i686' 'x86_64' 'armv7h')
url="http://gegl.org/babl/"
license=('LGPL3')
depends=('glibc')
provides=("$_pkgname")
conflicts=("$_pkgname")
makedepends=('gobject-introspection' 'vala' 'git')
options=('!makeflags')
source=(${_pkgname}-${pkgver}::git+git://git.gnome.org/$_pkgname.git)
sha1sums=('SKIP')
pkgver() {
cd ${_pkgname}-${pkgver}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
check() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|