From d1d93fafb9ef98fdd0c9a5a486c179c03cbbfb33 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Apr 2013 01:16:16 -0700 Subject: Tue Apr 23 01:16:16 PDT 2013 --- community/gitg/PKGBUILD | 34 +++++++++++++--------------------- community/gitg/gitg.install | 16 +++++----------- 2 files changed, 18 insertions(+), 32 deletions(-) (limited to 'community/gitg') diff --git a/community/gitg/PKGBUILD b/community/gitg/PKGBUILD index 1bb606e4e..68d902e4f 100644 --- a/community/gitg/PKGBUILD +++ b/community/gitg/PKGBUILD @@ -1,36 +1,28 @@ -# $Id: PKGBUILD 57270 2011-10-25 06:09:22Z ebelanger $ -# Maintainer: Brad Fanella -# Contributor: Blaž Tomžič -# Contributor: Thomas Dziedzic < gostrc at gmail > -# Contributor: Christoph Zeiler -# Contributor: M Rawash -# Contributor: DonVla +# $Id: PKGBUILD 88690 2013-04-21 22:17:07Z heftig $ +# Maintainer: Eric Bélanger pkgname=gitg -pkgver=0.2.5 +pkgver=0.2.7 pkgrel=1 pkgdesc='A GIT repository viewer based on GTK+' arch=('i686' 'x86_64') -url='http://trac.novowork.com/gitg/' +url='https://git.gnome.org/browse/gitg/' license=('GPL') -depends=('dconf' 'gtksourceview3' 'git' 'desktop-file-utils' 'gsettings-desktop-schemas' \ +depends=('gtksourceview3' 'git' 'desktop-file-utils' 'gsettings-desktop-schemas' \ 'hicolor-icon-theme') makedepends=('intltool') options=('!libtool') -install="${pkgname}.install" -source=("ftp://ftp.gnome.org/pub/GNOME/sources/gitg/0.2/${pkgname}-${pkgver}.tar.xz") -sha256sums=('d3dfff65834d8371d43b2e91926af1421f8ec2128580dfeceb6925b6b1ce6d8c') +install=gitg.install +source=(ftp://ftp.gnome.org/pub/GNOME/sources/gitg/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) +sha1sums=('7b1428819666e4797d64dc94bb1624d5e7b75e6a') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./configure \ - --prefix=/usr - make + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" install + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install } diff --git a/community/gitg/gitg.install b/community/gitg/gitg.install index 7b356a632..4b90c879e 100644 --- a/community/gitg/gitg.install +++ b/community/gitg/gitg.install @@ -1,19 +1,13 @@ -# Maintainer: Brad Fanella -# Contributor: DonVla -# gitg install file - post_install() { - usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + 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_install $1 } post_remove() { - usr/bin/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_install $1 } -- cgit v1.2.3-54-g00ecf