summaryrefslogtreecommitdiff
path: root/community/gpicview/PKGBUILD
blob: 9c52edf9eb96bd5b4e4d6e37ca629b474a7b1048 (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
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 99073 2013-10-24 08:15:59Z bpiotrowski $ 
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Angel Velasquez <angvp@archlinux.org> 
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>

pkgname=gpicview
pkgver=0.2.4
pkgrel=1
pkgdesc='Lightweight image viewer'
arch=('i686' 'x86_64')
license=('GPL2')
url='http://lxde.org/'
groups=('lxde')
depends=('gtk2' 'desktop-file-utils' 'xdg-utils')
install=$pkgname.install
makedepends=('pkgconfig' 'intltool')
optdepends=('librsvg: For SVG support')
source=(http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.gz)
md5sums=('b209e36531f89c48e3067b389699d4c7')

prepare() {
	cd $pkgname-$pkgver

	# Apply only one main category (FS#34684)
	sed -i '/^Categories=/ s/Utility;//' gpicview.desktop.in
}

build() {
	cd $pkgname-$pkgver
	./configure --sysconfdir=/etc --prefix=/usr
	make
}

package() {
	cd $pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}