blob: f1bc12e0c8717326bc70f9ebcd1bef130a71e198 (
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
|
# $Id: PKGBUILD 52590 2011-07-26 09:08:13Z angvp $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
pkgname=gpicview
pkgver=0.2.2
pkgrel=1.1
pkgdesc="Picture viewer of the LXDE Desktop"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://lxde.org/"
groups=('lxde')
depends=('gtk2')
makedepends=('pkgconfig' 'intltool')
optdepends=('librsvg: For SVG support')
source=(http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz)
md5sums=('943da9f4a23541accd5acdd4fb69966f')
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -ri 's/^(gpicview_LDADD = .+)/\1 -lm/' src/Makefile.in
./configure --sysconfdir=/etc --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
|