PKGBUILDs/community/gpicview/PKGBUILD
2012-03-15 15:56:25 -04:00

33 lines
855 B
Bash

# $Id: PKGBUILD 52590 2011-07-26 09:08:13Z angvp $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - rebuild for libpng - remove when bumped upstream
plugrel=1
pkgname=gpicview
pkgver=0.2.2
pkgrel=1.1
pkgdesc="Picture viewer of the LXDE Desktop"
arch=('i686' 'x86_64')
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"
LIBS="-lm" ./configure --sysconfdir=/etc --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}