[arch-commits] Commit in babl/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Christian Hesse
eworm at archlinux.org
Mon Jun 8 07:08:59 UTC 2020
Date: Monday, June 8, 2020 @ 07:08:54
Author: eworm
Revision: 388481
archrelease: copy trunk to testing-x86_64
Added:
babl/repos/testing-x86_64/
babl/repos/testing-x86_64/PKGBUILD
(from rev 388480, babl/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: babl/repos/testing-x86_64/PKGBUILD (from rev 388480, babl/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-06-08 07:08:54 UTC (rev 388481)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=babl
+pkgver=0.1.78
+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 vala)
+_commit=24c3666768d5530541e1dbdeb0354a37132213ff # tags/BABL_0_1_78^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