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

Antonio Rojas arojas at archlinux.org
Mon Jan 27 14:53:12 UTC 2020


    Date: Monday, January 27, 2020 @ 14:53:11
  Author: arojas
Revision: 374084

archrelease: copy trunk to staging-x86_64

Added:
  babl/repos/staging-x86_64/
  babl/repos/staging-x86_64/PKGBUILD
    (from rev 374083, babl/trunk/PKGBUILD)

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

Copied: babl/repos/staging-x86_64/PKGBUILD (from rev 374083, babl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-01-27 14:53:11 UTC (rev 374084)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=babl
+pkgver=0.1.74
+pkgrel=1
+pkgdesc="Dynamic, any to any, pixel format conversion library"
+arch=(x86_64)
+url="https://gegl.org/babl/"
+license=(LGPL3)
+depends=(glibc lcms2)
+makedepends=(git meson gobject-introspection)
+_commit=501c71495c9f4670ee066e3abe2ad6710e954084  # tags/BABL_0_1_74^0
+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'
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list