[arch-commits] Commit in gitg (trunk trunk/PKGBUILD trunk/gitg.install)

Jan de Groot jgc at archlinux.org
Mon Sep 22 10:29:52 UTC 2014


    Date: Monday, September 22, 2014 @ 12:29:52
  Author: jgc
Revision: 222623

Move in from community

Added:
  gitg/trunk/
  gitg/trunk/PKGBUILD
  gitg/trunk/gitg.install

--------------+
 PKGBUILD     |   27 +++++++++++++++++++++++++++
 gitg.install |   13 +++++++++++++
 2 files changed, 40 insertions(+)

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2014-09-22 10:29:52 UTC (rev 222623)
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 117732 2014-08-22 00:35:31Z eric $
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gitg
+pkgver=3.13.91
+pkgrel=2
+pkgdesc='A GIT repository viewer based on GTK+'
+arch=('i686' 'x86_64')
+url='https://git.gnome.org/browse/gitg/'
+license=('GPL')
+depends=('gtksourceview3' 'git' 'desktop-file-utils' 'libgit2-glib' 'libgee' 'webkitgtk' 'libpeas' 'gtkspell3')
+makedepends=('intltool' 'vala' 'gobject-introspection' 'python2')
+groups=('gnome-extra')
+install=gitg.install
+source=(ftp://ftp.gnome.org/pub/GNOME/sources/gitg/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('67ec4c1281024e63df36f9e74554609aae5cd0672acf5ee870e5bd9d9f0940b0')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make WARN_CFLAGS="-Wall"
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Added: trunk/gitg.install
===================================================================
--- trunk/gitg.install	                        (rev 0)
+++ trunk/gitg.install	2014-09-22 10:29:52 UTC (rev 222623)
@@ -0,0 +1,13 @@
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}




More information about the arch-commits mailing list