From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/gitg/PKGBUILD | 28 ++++++++++++++++++++++++++++ community/gitg/gitg.install | 13 +++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 community/gitg/PKGBUILD create mode 100644 community/gitg/gitg.install (limited to 'community/gitg') diff --git a/community/gitg/PKGBUILD b/community/gitg/PKGBUILD new file mode 100644 index 000000000..68d902e4f --- /dev/null +++ b/community/gitg/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 88690 2013-04-21 22:17:07Z heftig $ +# Maintainer: Eric BĂ©langer + +pkgname=gitg +pkgver=0.2.7 +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' 'gsettings-desktop-schemas' \ + 'hicolor-icon-theme') +makedepends=('intltool') +options=('!libtool') +install=gitg.install +source=(ftp://ftp.gnome.org/pub/GNOME/sources/gitg/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) +sha1sums=('7b1428819666e4797d64dc94bb1624d5e7b75e6a') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install +} diff --git a/community/gitg/gitg.install b/community/gitg/gitg.install new file mode 100644 index 000000000..4b90c879e --- /dev/null +++ b/community/gitg/gitg.install @@ -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 +} -- cgit v1.2.3-54-g00ecf