[arch-commits] Commit in gitg/repos (8 files)
Gaetan Bisson
bisson at archlinux.org
Mon Aug 31 19:56:39 UTC 2015
Date: Monday, August 31, 2015 @ 21:56:39
Author: bisson
Revision: 245114
db-move: moved gitg from [staging] to [testing] (i686, x86_64)
Added:
gitg/repos/testing-i686/
gitg/repos/testing-i686/PKGBUILD
(from rev 245112, gitg/repos/staging-i686/PKGBUILD)
gitg/repos/testing-i686/gitg.install
(from rev 245112, gitg/repos/staging-i686/gitg.install)
gitg/repos/testing-x86_64/
gitg/repos/testing-x86_64/PKGBUILD
(from rev 245112, gitg/repos/staging-x86_64/PKGBUILD)
gitg/repos/testing-x86_64/gitg.install
(from rev 245112, gitg/repos/staging-x86_64/gitg.install)
Deleted:
gitg/repos/staging-i686/
gitg/repos/staging-x86_64/
-----------------------------+
testing-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
testing-i686/gitg.install | 13 +++++++++++++
testing-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
testing-x86_64/gitg.install | 13 +++++++++++++
4 files changed, 92 insertions(+)
Copied: gitg/repos/testing-i686/PKGBUILD (from rev 245112, gitg/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-08-31 19:56:39 UTC (rev 245114)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gitg
+pkgver=3.17.1
+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=('2bdacc1db4bfcb0fb95d42700fa40130458a1d7f3ded6cacc8f1f5a469efd83f')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ rm -f *.gir
+ ./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/testing-i686/gitg.install (from rev 245112, gitg/repos/staging-i686/gitg.install)
===================================================================
--- testing-i686/gitg.install (rev 0)
+++ testing-i686/gitg.install 2015-08-31 19:56:39 UTC (rev 245114)
@@ -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/testing-x86_64/PKGBUILD (from rev 245112, gitg/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-08-31 19:56:39 UTC (rev 245114)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gitg
+pkgver=3.17.1
+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=('2bdacc1db4bfcb0fb95d42700fa40130458a1d7f3ded6cacc8f1f5a469efd83f')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ rm -f *.gir
+ ./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/testing-x86_64/gitg.install (from rev 245112, gitg/repos/staging-x86_64/gitg.install)
===================================================================
--- testing-x86_64/gitg.install (rev 0)
+++ testing-x86_64/gitg.install 2015-08-31 19:56:39 UTC (rev 245114)
@@ -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