mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-24 01:42:13 +08:00
30 lines
635 B
Bash
30 lines
635 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/babl
|
|
|
|
pkgname=babl
|
|
pkgver=0.1.60
|
|
pkgrel=1
|
|
pkgdesc="Dynamic, any to any, pixel format conversion library"
|
|
arch=('x86_64')
|
|
url="http://gegl.org/babl/"
|
|
license=('LGPL3')
|
|
depends=('glibc')
|
|
options=('!makeflags')
|
|
source=("http://ftp.gimp.org/pub/babl/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
|
|
sha1sums=('3582b064d9c605d669ea74df2bc7437d9f322b40')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
}
|