[arch-commits] Commit in graphene/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Sep 8 18:49:18 UTC 2019
Date: Sunday, September 8, 2019 @ 18:49:18
Author: heftig
Revision: 362061
1.10.0-1
Modified:
graphene/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-08 18:45:36 UTC (rev 362060)
+++ PKGBUILD 2019-09-08 18:49:18 UTC (rev 362061)
@@ -1,7 +1,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=graphene
-pkgver=1.8.6
+pkgver=1.10.0
pkgrel=1
pkgdesc="A thin layer of graphic data types"
url="https://github.com/ebassi/graphene"
@@ -9,9 +9,11 @@
license=(MIT)
depends=(glib2)
makedepends=(git gtk-doc gobject-introspection meson)
-_commit=e22dc08a84d8a9128873a46ad9c71f81c1b4657d # tags/1.8.6^0
-source=("git+https://github.com/ebassi/graphene#commit=$_commit")
-sha256sums=('SKIP')
+_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
@@ -20,21 +22,26 @@
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
+ arch-meson $pkgname build \
+ -D gtk_doc=true \
+ -D installed_tests=false
ninja -C build
}
check() {
- meson test -C build
+ meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/LICENSE
- rm -r "$pkgdir"/usr/{lib,share}/installed-tests
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/LICENSE.txt
}
# vim:set sw=2 et:
More information about the arch-commits
mailing list