PKGBUILDs/extra/xzgv/PKGBUILD
2009-10-09 21:23:22 -05:00

34 lines
917 B
Bash

# $Id: PKGBUILD 49370 2009-08-06 14:15:18Z allan $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=xzgv
pkgver=0.9.1
pkgrel=1
pkgdesc="A GTK+/Imlib-based picture viewer for X"
arch=('i686' 'x86_64')
url="http://rus.members.beeb.net/xzgv.html"
license=('GPL')
depends=('gtk2')
makedepends=('pkgconfig')
install=xzgv.install
source=(http://downloads.sourceforge.net/sourceforge/xzgv/${pkgname}-${pkgver}.tar.gz
xzgv-infoinstall.patch)
md5sums=('d6452ebd4911d986fa1176086afb6e33'
'5578f2d2521f060fec127cc07f69b578')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i $srcdir/xzgv-infoinstall.patch
make all || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make BINDIR=${pkgdir}/usr/bin \
MANDIR=${pkgdir}/usr/share/man/man1 \
INFODIR=${pkgdir}/usr/share/info \
install
}