diff options
Diffstat (limited to 'extra/lensfun/PKGBUILD')
-rw-r--r-- | extra/lensfun/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/lensfun/PKGBUILD b/extra/lensfun/PKGBUILD index b0a300d7d..39c211128 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 'mips64el') @@ -12,7 +12,7 @@ depends=('glibc' 'glib2') makedepends=('python2' 'libpng' 'doxygen') source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2") -build() { +prepare() { cd "${srcdir}/${pkgname}-${pkgver}" if [ "$CARCH" = "mips64el" ]; then confflags="--vectorization=" @@ -20,7 +20,11 @@ build() { confflags="" fi sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure - ./configure \ +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ --prefix=/usr \ --libdir=/usr/lib ${confflags} make all @@ -30,4 +34,4 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make INSTALL_PREFIX="$pkgdir" install } -md5sums=('740e4749db04da0a597630dd6339b966') +md5sums=('6061cc2d00a42d3e62512878426fc841') |