diff options
Diffstat (limited to 'community/viewnior')
-rw-r--r-- | community/viewnior/PKGBUILD | 24 | ||||
-rw-r--r-- | community/viewnior/viewnior.install | 13 |
2 files changed, 37 insertions, 0 deletions
diff --git a/community/viewnior/PKGBUILD b/community/viewnior/PKGBUILD new file mode 100644 index 000000000..d53a3a382 --- /dev/null +++ b/community/viewnior/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 35130 2010-12-16 14:14:18Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> +# Maintainer: M Rawash <mrawash@gmail.com> + +pkgname=viewnior +pkgver=1.1 +pkgrel=1 +pkgdesc="A simple, fast and elegant image viewer program" +arch=('i686' 'x86_64') +url="http://xsisqox.github.com/Viewnior/" +license=('GPL3') +depends=('gtk2>=2.12') +makedepends=('make' 'intltool>=0.35' 'pkgconfig>=0.9' 'perl>=5.8.1') +install=viewnior.install +source=(http://cloud.github.com/downloads/xsisqox/Viewnior/$pkgname-$pkgver.tar.gz) +md5sums=('5b14c6edaf78fdd3259f148ae9d7f062') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make + make DESTDIR="$pkgdir" install +} diff --git a/community/viewnior/viewnior.install b/community/viewnior/viewnior.install new file mode 100644 index 000000000..5f0358791 --- /dev/null +++ b/community/viewnior/viewnior.install @@ -0,0 +1,13 @@ +post_install() { + [ -x `which update-mime-database` ] && update-mime-database usr/share/mime + [ -x `which gtk-update-icon-cache` ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + /bin/true +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |