mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
41 lines
899 B
Bash
41 lines
899 B
Bash
# $Id$
|
|
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - revert to configure/make, meson build not ARM friendly
|
|
|
|
pkgname=babl
|
|
pkgver=0.1.46
|
|
pkgrel=1
|
|
pkgdesc="Dynamic, any to any, pixel format conversion library"
|
|
arch=(x86_64)
|
|
url="http://gegl.org/babl/"
|
|
license=(LGPL3)
|
|
depends=(glibc)
|
|
makedepends=(git meson)
|
|
_commit=e92ced2c54250af1dddb58f76ff1678d74a30dcf # tags/BABL_0_1_46^0
|
|
source=("git+https://git.gnome.org/browse/babl#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/^BABL_//;s/_/./g;s/-/+/g'
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/$pkgname"
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
./configure --prefix=/usr
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/$pkgname"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/$pkgname"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|