# Maintainer: Geoffroy Carrier # Previous Contributor: Ewoud Nuyts pkgname=gliv pkgver=1.9.6 pkgrel=1 pkgdesc="OpenGL image viewer" url="http://guichaz.free.fr/gliv/" arch=('i686' 'x86_64') license=('GPL') depends=('gtkglext') source=(http://guichaz.free.fr/gliv/files/${pkgname}-${pkgver}.tar.bz2) md5sums=('e51838ed643f3af5143a20a12f432b9d') build() { cd "$srcdir/${pkgname}-${pkgver}" ./configure --prefix=/usr || return 1 sed -i 's:pixmaps |:pixmaps $(datadir)/applications |:;s:vendor=gnome:vendor=gnome --dir=$(datadir)/applications:' Makefile make || return 1 make prefix="$pkgdir/usr" install || return 1 }