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

Christian Hesse eworm at gemini.archlinux.org
Sun Aug 28 20:36:26 UTC 2022


    Date: Sunday, August 28, 2022 @ 20:36:26
  Author: eworm
Revision: 454679

archrelease: copy trunk to testing-x86_64

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

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

Copied: babl/repos/testing-x86_64/PKGBUILD (from rev 454678, babl/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-08-28 20:36:26 UTC (rev 454679)
@@ -0,0 +1,38 @@
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=babl
+_tag='e3f61c65825271f2846c72558dedd2556065cbe3'
+pkgver=0.1.96
+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')
+options=('debug')
+source=("git+https://gitlab.gnome.org/GNOME/babl.git#tag=$_tag")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd "${pkgname}"
+  git describe --tags | sed 's/^BABL_//;s/_$//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  # https://gitlab.gnome.org/GNOME/babl/-/merge_requests/45
+  sed -i s/Description/description/ "${pkgname}"/meson.build
+}
+
+build() {
+  arch-meson "${pkgname}" build
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="${pkgdir}" meson install -C build
+}



More information about the arch-commits mailing list