summaryrefslogtreecommitdiff
path: root/extra/lensfun
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-23 18:28:19 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-23 18:28:19 -0300
commitd07d53d7af1e9694d9558783841bc2df3124a90f (patch)
tree40d68de204b29d3360efd654d3c458c9cdad3cd6 /extra/lensfun
parenta873bdc69d24650d832933463af71dfaa96f1a8a (diff)
parent64e290184042563a240e2d6d15c02e06703d00ee (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/obconf/PKGBUILD community/obconf/obconf.install community/qstardict/PKGBUILD core/binutils/PKGBUILD core/gcc/PKGBUILD.mips64el extra/cups/PKGBUILD extra/eject/PKGBUILD extra/emacs/PKGBUILD extra/evilwm/PKGBUILD extra/fbset/PKGBUILD extra/gmpc/PKGBUILD extra/gnome-alsamixer/PKGBUILD extra/gtkpod/PKGBUILD extra/kdepim/PKGBUILD extra/kile/PKGBUILD extra/libvpx/PKGBUILD extra/php-apc/PKGBUILD extra/php-suhosin/PKGBUILD extra/php/PKGBUILD extra/pidgin/PKGBUILD extra/potrace/PKGBUILD extra/racket/PKGBUILD extra/soundtouch/PKGBUILD extra/wireshark/PKGBUILD extra/xpdf/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/lib32-acl/PKGBUILD multilib/lib32-attr/PKGBUILD multilib/lib32-glibc/PKGBUILD multilib/lib32-udev/PKGBUILD ~xihh/abiword/PKGBUILD
Diffstat (limited to 'extra/lensfun')
-rw-r--r--extra/lensfun/PKGBUILD27
1 files changed, 19 insertions, 8 deletions
diff --git a/extra/lensfun/PKGBUILD b/extra/lensfun/PKGBUILD
index 2cf69b129..8435e0a45 100644
--- a/extra/lensfun/PKGBUILD
+++ b/extra/lensfun/PKGBUILD
@@ -1,21 +1,32 @@
-# $Id: PKGBUILD 81449 2010-05-30 16:39:15Z tpowa $
+# $Id: PKGBUILD 135705 2011-08-17 16:07:55Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=lensfun
pkgver=0.2.5
-pkgrel=1
+pkgrel=2
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
arch=(i686 x86_64 'mips64el')
url="http://lensfun.berlios.de/"
license=('LGPL3')
depends=('glibc' 'glib2')
-makedepends=('python' 'libpng')
-source=(http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+makedepends=('python' 'libpng' 'doxygen')
+source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ "runtime.cpu.detection.fix.backport.patch")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --libdir=/usr/lib || return 1
- make all || return 1
- make INSTALL_PREFIX="$pkgdir" install || return 1
+ sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure
+ patch -p0 -i "${srcdir}/runtime.cpu.detection.fix.backport.patch"
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib
+ make all
}
-md5sums=('a10438dffae68a5988fc54b0393a3755')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL_PREFIX="$pkgdir" install
+}
+
+md5sums=('a10438dffae68a5988fc54b0393a3755'
+ 'a2033928f263db319de78182ab12fb7d')