summaryrefslogtreecommitdiff
path: root/extra/lensfun/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lensfun/PKGBUILD')
-rw-r--r--extra/lensfun/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/lensfun/PKGBUILD b/extra/lensfun/PKGBUILD
index 425ac426b..a3a2cedd0 100644
--- a/extra/lensfun/PKGBUILD
+++ b/extra/lensfun/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 162692 2012-06-28 10:33:24Z tpowa $
+# $Id: PKGBUILD 182923 2013-04-16 07:16:05Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=lensfun
-pkgver=0.2.6
+pkgver=0.2.7
pkgrel=1
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
arch=(i686 x86_64)
@@ -12,10 +12,14 @@ depends=('glibc' 'glib2')
makedepends=('python2' 'libpng' 'doxygen')
source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure
- ./configure \
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
--prefix=/usr \
--libdir=/usr/lib
make all
@@ -25,4 +29,4 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make INSTALL_PREFIX="$pkgdir" install
}
-md5sums=('740e4749db04da0a597630dd6339b966')
+md5sums=('6061cc2d00a42d3e62512878426fc841')