gtk/babl/PKGBUILD

30 lines
635 B
Bash
Raw Normal View History

2016-01-28 00:21:47 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/babl
2013-04-28 03:15:43 +08:00
pkgname=babl
2018-11-28 04:10:46 +08:00
pkgver=0.1.60
2016-01-28 00:21:47 +08:00
pkgrel=1
2013-04-28 03:15:43 +08:00
pkgdesc="Dynamic, any to any, pixel format conversion library"
arch=('x86_64')
url="http://gegl.org/babl/"
license=('LGPL3')
depends=('glibc')
2016-01-28 00:21:47 +08:00
options=('!makeflags')
source=("http://ftp.gimp.org/pub/babl/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
2018-11-28 04:10:46 +08:00
sha1sums=('3582b064d9c605d669ea74df2bc7437d9f322b40')
2013-04-28 03:15:43 +08:00
build() {
2016-01-28 00:21:47 +08:00
cd $pkgname-$pkgver
./configure --prefix=/usr
2013-04-28 03:15:43 +08:00
make
}
check() {
2016-01-28 00:21:47 +08:00
cd $pkgname-$pkgver
2013-04-28 03:15:43 +08:00
make check
}
package() {
2016-01-28 00:21:47 +08:00
cd $pkgname-$pkgver
2013-04-28 03:15:43 +08:00
make DESTDIR=$pkgdir install
}