diff options
Diffstat (limited to 'community/gummi')
-rw-r--r-- | community/gummi/PKGBUILD | 30 | ||||
-rw-r--r-- | community/gummi/gummi.install | 14 |
2 files changed, 31 insertions, 13 deletions
diff --git a/community/gummi/PKGBUILD b/community/gummi/PKGBUILD index a7d2e215c..baca995fc 100644 --- a/community/gummi/PKGBUILD +++ b/community/gummi/PKGBUILD @@ -1,32 +1,36 @@ -# Maintainer: Thomas Dziedzic < gostrc at gmail > +# $Id: PKGBUILD 68113 2012-03-18 11:53:48Z arodseth $ + +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Sergio A. Morales <sergiomorales@archlinux.cl> # Contributor: soeren <nonick@posteo.de> pkgname=gummi -pkgver=0.6.1 +pkgver=0.6.2 pkgrel=1 pkgdesc='Simple LaTex editor for GTK users' -arch=('i686' 'x86_64') +arch=('x86_64' 'i686') url='http://gummi.midnightcoding.org/' license=('MIT') -depends=('texlive-core' 'gtkspell' 'gtksourceview2' 'poppler-glib') +depends=('texlive-core' 'gtkspell' 'gtksourceview2' 'poppler-glib' 'desktop-file-utils') makedepends=('glib2' 'gtk2' 'pango' 'poppler' 'intltool') -source=("http://dev.midnightcoding.org/redmine/attachments/download/217/gummi-0.6.1.tar.gz") -md5sums=('f9a257a4cec208642028ccde6b6514e0') +install=$pkgname.install +source=("http://dev.midnightcoding.org/attachments/download/258/$pkgname-$pkgver.tar.gz") +sha256sums=('1d886e6036a9a480662f9cf3ae8afa4d1129929c16cb78081755ad1d10be8277') build() { - cd ${pkgname}-${pkgver} + cd "$pkgname-$pkgver" find . -type f -exec touch {} \; - - ./configure \ - --prefix=/usr - + ./configure --prefix=/usr make } package() { - cd ${pkgname}-${pkgver} + cd "$pkgname-$pkgver" - make prefix=${pkgdir}/usr install + make prefix="$pkgdir/usr" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } + +# vim:set ts=2 sw=2 et: diff --git a/community/gummi/gummi.install b/community/gummi/gummi.install new file mode 100644 index 000000000..ef816a666 --- /dev/null +++ b/community/gummi/gummi.install @@ -0,0 +1,14 @@ +post_upgrade() { + gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor + update-desktop-database -q +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} + +# vim:set ts=2 sw=2 et: |