[arch-commits] Commit in gitg/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Feb 26 11:10:05 UTC 2020
Date: Wednesday, February 26, 2020 @ 11:10:04
Author: heftig
Revision: 376258
archrelease: copy trunk to staging-x86_64
Added:
gitg/repos/staging-x86_64/
gitg/repos/staging-x86_64/PKGBUILD
(from rev 376257, gitg/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: gitg/repos/staging-x86_64/PKGBUILD (from rev 376257, gitg/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-02-26 11:10:04 UTC (rev 376258)
@@ -0,0 +1,40 @@
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gitg
+pkgver=3.32.1+17+gb4c8155f
+pkgrel=1
+epoch=1
+pkgdesc="GNOME GUI client to view git repositories"
+url="https://wiki.gnome.org/Apps/Gitg"
+arch=(x86_64)
+license=(GPL)
+depends=(gtksourceview3 git libgit2-glib libgee webkit2gtk libpeas gtkspell3 python-gobject
+ libdazzle)
+makedepends=(gobject-introspection git meson vala)
+_commit=b4c8155f641ed2d1afa8a090a04b44853286abe1 # gnome-3-32
+source=("git+https://gitlab.gnome.org/GNOME/gitg.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+ python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+ python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+}
More information about the arch-commits
mailing list