[arch-commits] Commit in gitg/repos (6 files)
Jan Steffens
heftig at archlinux.org
Fri Sep 25 11:58:43 UTC 2015
Date: Friday, September 25, 2015 @ 13:58:43
Author: heftig
Revision: 247379
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 247378, gitg/trunk/PKGBUILD)
gitg/repos/gnome-unstable-i686/gitg.install
(from rev 247378, gitg/trunk/gitg.install)
gitg/repos/gnome-unstable-x86_64/
gitg/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 247378, gitg/trunk/PKGBUILD)
gitg/repos/gnome-unstable-x86_64/gitg.install
(from rev 247378, gitg/trunk/gitg.install)
------------------------------------+
gnome-unstable-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
gnome-unstable-i686/gitg.install | 13 +++++++++++++
gnome-unstable-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/gitg.install | 13 +++++++++++++
4 files changed, 90 insertions(+)
Copied: gitg/repos/gnome-unstable-i686/PKGBUILD (from rev 247378, gitg/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2015-09-25 11:58:43 UTC (rev 247379)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gitg
+pkgver=3.18.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'
+ 'python-gobject')
+makedepends=('intltool' 'vala' 'gobject-introspection' 'gnome-common' 'glade')
+groups=('gnome-extra')
+install=gitg.install
+source=(ftp://ftp.gnome.org/pub/GNOME/sources/gitg/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('fa4b7b9c492f13f5f1d864af1281ea377ac8c7619c856e05f533b18989edf421')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --enable-glade-catalog
+
+ # 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
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Copied: gitg/repos/gnome-unstable-i686/gitg.install (from rev 247378, gitg/trunk/gitg.install)
===================================================================
--- gnome-unstable-i686/gitg.install (rev 0)
+++ gnome-unstable-i686/gitg.install 2015-09-25 11:58:43 UTC (rev 247379)
@@ -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 247378, gitg/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2015-09-25 11:58:43 UTC (rev 247379)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gitg
+pkgver=3.18.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'
+ 'python-gobject')
+makedepends=('intltool' 'vala' 'gobject-introspection' 'gnome-common' 'glade')
+groups=('gnome-extra')
+install=gitg.install
+source=(ftp://ftp.gnome.org/pub/GNOME/sources/gitg/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('fa4b7b9c492f13f5f1d864af1281ea377ac8c7619c856e05f533b18989edf421')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --enable-glade-catalog
+
+ # 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
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Copied: gitg/repos/gnome-unstable-x86_64/gitg.install (from rev 247378, gitg/trunk/gitg.install)
===================================================================
--- gnome-unstable-x86_64/gitg.install (rev 0)
+++ gnome-unstable-x86_64/gitg.install 2015-09-25 11:58:43 UTC (rev 247379)
@@ -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