summaryrefslogtreecommitdiff
path: root/community/gliv/PKGBUILD
blob: d46a77e9ea060558155e50256d182d13fab7dd6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: Ewoud Nuyts <ewoud.nuyts@gmail.com>

pkgname=gliv
pkgver=1.9.7
pkgrel=2
pkgdesc="OpenGL image viewer"
arch=('i686' 'x86_64' 'mips64el')
url="http://guichaz.free.fr/gliv/"
license=('GPL')
depends=('gtkglext')
changelog=$pkgname.changelog
source=(http://guichaz.free.fr/gliv/files/${pkgname}-${pkgver}.tar.bz2)
md5sums=('5f0fafaf41651da8882e88b3df062d02')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  ./configure --prefix=/usr --mandir=/usr/share/man
  sed -i 's:pixmaps |:pixmaps $(datadir)/applications |:;s:vendor=gnome:vendor=gnome --dir=$(datadir)/applications:' Makefile
  make
} 

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
}