updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / showimg / PKGBUILD
blob5c25ff78a64b8906659968e8536e4550e676482c
1 # $Id$
2 # Maintainer: Leigh <leigh@archlinux.us>
3 # Contributor: Varun Acharya <varun@archlinux.org>
5 pkgname=showimg
6 pkgver=0.9.5
7 pkgrel=6
8 pkgdesc="ShowImg is a feature-rich image viewer for KDE which can display numerous formats"
9 arch=('i686' 'x86_64')
10 url="http://www.jalix.org/projects/showimg/"
11 license=('GPL')
12 depends=('kdemod3-kdebase' 'libpqxx' 'libkexif' 'libkipi>=0.1.6')
13 options=('!makeflags')
14 source=(http://www.jalix.org/projects/showimg/download/${pkgver}/showimg-${pkgver}.tar.bz2 \
15         showimg-0.9.5+gcc-4.3.patch showimg-0.9.5+libpqxx-2.6.9.patch)
16 md5sums=('281c5f5e65ca14c69810d2099c43a4b8' '5a7636c5131f23e7f6656e1b6786e262'\
17          '35a88e4f1b82b35e18a507c9b0d1d799')
18 sha1sums=('59d3a1f1a22761e0576d98e6cc6f430cc3822643'
19           '49ac397c6a7bb4c2e22de7161f2ec10f57d75901'
20           'd51a9d50027404e88403a6cfc286660682a0465c')
22 build() {
23   cd ${srcdir}/showimg-${pkgver}
24   patch -p1 < ../showimg-0.9.5+gcc-4.3.patch || return 1
25   patch -p1 < ../showimg-0.9.5+libpqxx-2.6.9.patch || return 1
26   ./configure --prefix=/opt/kde --enable-libkipi --with-kexif --disable-debug || return 1
27   make || return 1
28   make DESTDIR=${pkgdir} install || return 1
29