From 0f02baec6afdab918d86a226ee9a984482b5a534 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Apr 2013 00:05:54 -0700 Subject: Wed Apr 17 00:05:54 PDT 2013 --- extra/lensfun/PKGBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'extra/lensfun/PKGBUILD') 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 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') -- cgit v1.2.3-54-g00ecf