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

Felix Yan felixonmars at archlinux.org
Tue May 19 07:59:29 UTC 2020


    Date: Tuesday, May 19, 2020 @ 07:59:29
  Author: felixonmars
Revision: 386099

archrelease: copy trunk to staging-x86_64

Added:
  graphene/repos/staging-x86_64/
  graphene/repos/staging-x86_64/PKGBUILD
    (from rev 386098, graphene/trunk/PKGBUILD)

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

Copied: graphene/repos/staging-x86_64/PKGBUILD (from rev 386098, graphene/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 07:59:29 UTC (rev 386099)
@@ -0,0 +1,47 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+ 
+pkgname=graphene
+pkgver=1.10.0
+pkgrel=2
+pkgdesc="A thin layer of graphic data types"
+url="https://ebassi.github.io/graphene/"
+arch=(x86_64)
+license=(MIT)
+depends=(glib2)
+makedepends=(git gtk-doc gobject-introspection meson)
+_commit=6099dbb39ff8de20f37c8ca6e951203a810c1649  # tags/1.10.0^0
+source=("git+https://github.com/ebassi/graphene#commit=$_commit"
+        "git+https://github.com/ebassi/mutest")
+sha256sums=('SKIP'
+            'SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  git submodule init
+  git config --local submodule.subprojects/mutest.url "$srcdir/mutest"
+  git submodule update
+}
+
+build() {
+  arch-meson $pkgname build \
+    -D gtk_doc=true \
+    -D installed_tests=false
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/LICENSE.txt
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list