[arch-commits] Commit in babl/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at archlinux.org
Thu Jul 5 07:04:20 UTC 2018


    Date: Thursday, July 5, 2018 @ 07:04:19
  Author: eworm
Revision: 327978

archrelease: copy trunk to testing-x86_64

Added:
  babl/repos/testing-x86_64/
  babl/repos/testing-x86_64/PKGBUILD
    (from rev 327977, babl/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: babl/repos/testing-x86_64/PKGBUILD (from rev 327977, babl/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-07-05 07:04:19 UTC (rev 327978)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=babl
+pkgver=0.1.52
+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)
+_commit=1953d1ec2a750959c155b8f14b29c591a5450cb9  # master
+source=("git+https://gitlab.gnome.org/GNOME/babl.git#commit=$_commit")
+sha256sums=('SKIP')
+
+# Don't port to meson until babl's runtime cpu detection works there
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^BABL_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  make -C $pkgname check
+}
+
+package() {
+  DESTDIR="$pkgdir" make -C $pkgname install
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list