[arch-commits] Commit in lensfun/trunk (PKGBUILD)

Tobias Powalowski tpowa at nymeria.archlinux.org
Tue Apr 16 07:15:56 UTC 2013


    Date: Tuesday, April 16, 2013 @ 09:15:56
  Author: tpowa
Revision: 182922

upgpkg: lensfun 0.2.7-1

bump to latest version

Modified:
  lensfun/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-16 07:10:02 UTC (rev 182921)
+++ PKGBUILD	2013-04-16 07:15:56 UTC (rev 182922)
@@ -2,7 +2,7 @@
 # Maintainer: Tobias Powalowski <tpowa at 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 @@
 makedepends=('python2' 'libpng' 'doxygen')
 source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
 
+prepare() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure
+}
+
 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
-    sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure
-    ./configure \
+   ./configure \
         --prefix=/usr \
         --libdir=/usr/lib
     make all
@@ -25,4 +29,4 @@
     cd "${srcdir}/${pkgname}-${pkgver}"
     make INSTALL_PREFIX="$pkgdir" install
 }
-md5sums=('740e4749db04da0a597630dd6339b966')
+md5sums=('6061cc2d00a42d3e62512878426fc841')




More information about the arch-commits mailing list