[arch-commits] Commit in gitg/repos (6 files)

Jan de Groot jgc at archlinux.org
Tue Mar 24 10:01:18 UTC 2015


    Date: Tuesday, March 24, 2015 @ 11:01:17
  Author: jgc
Revision: 234601

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  gitg/repos/gnome-unstable-i686/
  gitg/repos/gnome-unstable-i686/PKGBUILD
    (from rev 234600, gitg/trunk/PKGBUILD)
  gitg/repos/gnome-unstable-i686/gitg.install
    (from rev 234600, gitg/trunk/gitg.install)
  gitg/repos/gnome-unstable-x86_64/
  gitg/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 234600, gitg/trunk/PKGBUILD)
  gitg/repos/gnome-unstable-x86_64/gitg.install
    (from rev 234600, gitg/trunk/gitg.install)

------------------------------------+
 gnome-unstable-i686/PKGBUILD       |   34 ++++++++++++++++++++++++++++++++++
 gnome-unstable-i686/gitg.install   |   13 +++++++++++++
 gnome-unstable-x86_64/PKGBUILD     |   34 ++++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/gitg.install |   13 +++++++++++++
 4 files changed, 94 insertions(+)

Copied: gitg/repos/gnome-unstable-i686/PKGBUILD (from rev 234600, gitg/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2015-03-24 10:01:17 UTC (rev 234601)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gitg
+pkgver=3.16.0
+pkgrel=1
+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' 'webkit2gtk' 'libpeas' 'gtkspell3')
+makedepends=('intltool' 'vala' 'gobject-introspection' 'gnome-common')
+groups=('gnome-extra')
+install=gitg.install
+source=(ftp://ftp.gnome.org/pub/GNOME/sources/gitg/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('e5b1da6f3234b497c7c418f5efc5bd9c29257864a67687dea1a0efe74f29cf89')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  rm -f *.gir
+  NOCONFIGURE=1  ./autogen.sh
+  ./configure --prefix=/usr
+
+  # Don't overlink
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+  make Gitg-1.0.gir
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: gitg/repos/gnome-unstable-i686/gitg.install (from rev 234600, gitg/trunk/gitg.install)
===================================================================
--- gnome-unstable-i686/gitg.install	                        (rev 0)
+++ gnome-unstable-i686/gitg.install	2015-03-24 10:01:17 UTC (rev 234601)
@@ -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
+}

Copied: gitg/repos/gnome-unstable-x86_64/PKGBUILD (from rev 234600, gitg/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2015-03-24 10:01:17 UTC (rev 234601)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gitg
+pkgver=3.16.0
+pkgrel=1
+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' 'webkit2gtk' 'libpeas' 'gtkspell3')
+makedepends=('intltool' 'vala' 'gobject-introspection' 'gnome-common')
+groups=('gnome-extra')
+install=gitg.install
+source=(ftp://ftp.gnome.org/pub/GNOME/sources/gitg/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('e5b1da6f3234b497c7c418f5efc5bd9c29257864a67687dea1a0efe74f29cf89')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  rm -f *.gir
+  NOCONFIGURE=1  ./autogen.sh
+  ./configure --prefix=/usr
+
+  # Don't overlink
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+  make Gitg-1.0.gir
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: gitg/repos/gnome-unstable-x86_64/gitg.install (from rev 234600, gitg/trunk/gitg.install)
===================================================================
--- gnome-unstable-x86_64/gitg.install	                        (rev 0)
+++ gnome-unstable-x86_64/gitg.install	2015-03-24 10:01:17 UTC (rev 234601)
@@ -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