PKGBUILDs/community/gliv/PKGBUILD
2009-10-09 21:15:33 -05:00

20 lines
678 B
Bash

# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Previous Contributor: Ewoud Nuyts <ewoud.nuyts@gmail.com>
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
}