diff options
Diffstat (limited to 'community/gitg')
-rw-r--r-- | community/gitg/PKGBUILD | 32 | ||||
-rw-r--r-- | community/gitg/gitg.install | 17 |
2 files changed, 49 insertions, 0 deletions
diff --git a/community/gitg/PKGBUILD b/community/gitg/PKGBUILD new file mode 100644 index 000000000..d03337ab5 --- /dev/null +++ b/community/gitg/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Brad Fanella <bradfanella@archlinux.us> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> +# Contributor: M Rawash <mrawash@gmail.com> +# Contributor: DonVla <donvla@users.sourceforge.net> + +pkgname=gitg +pkgver=0.1.2 +pkgrel=1 +pkgdesc='A GIT repository viewer based on GTK+' +arch=('i686' 'x86_64') +url='http://trac.novowork.com/gitg/' +license=('GPL') +depends=('gconf' 'gtksourceview2' 'git' 'desktop-file-utils' 'gsettings-desktop-schemas') +makedepends=('intltool') +install="${pkgname}.install" +source=("ftp://ftp.gnome.org/pub/GNOME/sources/gitg/0.1/${pkgname}-${pkgver}.tar.bz2") +sha256sums=('e7030b7d49169339f123c79eb6f289d9d1067fd5b248b7ce712a7b15a72e9f1a') + +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..787d6085e --- /dev/null +++ b/community/gitg/gitg.install @@ -0,0 +1,17 @@ +# Maintainer: Brad Fanella <bradfanella@archlinux.us> +# Contributor: DonVla <donvla@users.sourceforge.net> +# gitg install file + +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q +} |