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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:48:25 UTC 2019


    Date: Monday, November 4, 2019 @ 07:48:24
  Author: felixonmars
Revision: 366694

archrelease: copy trunk to staging-x86_64

Added:
  gitg/repos/staging-x86_64/
  gitg/repos/staging-x86_64/PKGBUILD
    (from rev 366693, gitg/trunk/PKGBUILD)

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

Copied: gitg/repos/staging-x86_64/PKGBUILD (from rev 366693, gitg/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-11-04 07:48:24 UTC (rev 366694)
@@ -0,0 +1,40 @@
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gitg
+pkgver=3.32.1
+pkgrel=2
+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=3bb93630770dbc8859017f59aa67fab1e19843a3  # tags/v3.32.1^0
+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
+}
+
+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