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

Jan Steffens heftig at archlinux.org
Fri Apr 13 21:23:23 UTC 2018


    Date: Friday, April 13, 2018 @ 21:23:22
  Author: heftig
Revision: 321692

archrelease: copy trunk to extra-x86_64

Added:
  gitg/repos/extra-x86_64/PKGBUILD
    (from rev 321691, gitg/trunk/PKGBUILD)
Deleted:
  gitg/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 35 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-13 21:22:02 UTC (rev 321691)
+++ PKGBUILD	2018-04-13 21:23:22 UTC (rev 321692)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=gitg
-pkgver=3.26+23+g9c785938
-pkgrel=1
-pkgdesc='A GIT repository viewer based on GTK+'
-arch=('x86_64')
-url='https://git.gnome.org/browse/gitg/'
-license=('GPL')
-depends=('gtksourceview3' 'git' 'desktop-file-utils' 'libgit2-glib' 'libgee' 'webkit2gtk'
-         'libpeas' 'gtkspell3' 'python-gobject')
-makedepends=('intltool' 'vala' 'gobject-introspection' 'glade' 'git' 'meson' 'gtk-doc')
-groups=('gnome-extra')
-_commit=9c7859381b8eb5f0e8c00bca120802148ea3bc8e  # master
-source=("git+https://git.gnome.org/browse/gitg#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  arch-meson $pkgname build -D docs=true
-  ninja -C build
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-
-  # Fix up icon names
-  local f d
-  for f in "$pkgdir"/usr/share/icons/hicolor/*/apps/*; do
-    d="${f%/*}"
-    mv "$f" "$d/${f##*_}"
-  done
-
-  python -m compileall "$pkgdir/usr/lib/python3.6"
-  python -O -m compileall "$pkgdir/usr/lib/python3.6"
-}

Copied: gitg/repos/extra-x86_64/PKGBUILD (from rev 321691, gitg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-13 21:23:22 UTC (rev 321692)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gitg
+pkgver=3.26.0
+pkgrel=1
+epoch=1
+pkgdesc='A GIT repository viewer based on GTK+'
+arch=('x86_64')
+url='https://git.gnome.org/browse/gitg/'
+license=('GPL')
+depends=('gtksourceview3' 'git' 'desktop-file-utils' 'libgit2-glib' 'libgee' 'webkit2gtk'
+         'libpeas' 'gtkspell3' 'python-gobject')
+makedepends=('intltool' 'gobject-introspection' 'gnome-common')
+source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha256sums=('26730d437d6a30d6e341b9e8da99d2134dce4b96022c195609f45062f82b54d5')
+
+# Don't convert back to Git sources until compilation with current Vala is fixed (FS#58215)
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  mv "$pkgdir"/usr/share/{appdata,metainfo}
+}



More information about the arch-commits mailing list