1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Alexander Baldeck <alexander@archlinux.org>
3 # Contributor: dorphell <dorphell@archlinux.org>
8 pkgdesc="A picture viewer for X, with a thumbnail-based file selector"
10 url="http://sourceforge.net/projects/xzgv/"
13 optdepends=('xterm: open help files')
14 install=$pkgname.install
15 source=(http://downloads.sourceforge.net/sourceforge/xzgv/${pkgname}-${pkgver}.tar.gz
18 md5sums=('d6452ebd4911d986fa1176086afb6e33'
19 'fa2c04aa696e23e28f2dec0ef89f5493'
20 'ac77492f25a6b4927d2efca966f5e03c')
23 cd "$srcdir/$pkgname-$pkgver"
25 patch -Np1 -i "$srcdir/xzgv-ldflags.patch"
32 cd "$srcdir/$pkgname-$pkgver"
34 make BINDIR="$pkgdir/usr/bin" \
35 MANDIR="$pkgdir/usr/share/man/man1" \
36 INFODIR="$pkgdir/usr/share/info" \
39 # Install desktop file and icon
40 install -Dm644 "$srcdir/xzgv.desktop" "$pkgdir/usr/share/applications/xzgv.desktop"
41 install -Dm644 src/icon-64.xpm "$pkgdir/usr/share/pixmaps/xzgv.xpm"