PKGBUILDs/extra/lensfun/PKGBUILD

32 lines
834 B
Bash
Raw Normal View History

2015-01-11 02:35:06 +00:00
# $Id$
2013-02-11 21:14:48 +00:00
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2015-01-11 02:35:06 +00:00
# - disable sse, sse2
2013-02-11 21:14:48 +00:00
pkgname=lensfun
2015-07-09 14:16:37 +00:00
pkgver=0.3.1
2015-12-10 05:52:35 +00:00
pkgrel=2
2013-02-11 21:14:48 +00:00
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
arch=(i686 x86_64)
2015-01-11 02:35:06 +00:00
url="http://lensfun.sourceforge.net"
2013-02-11 21:14:48 +00:00
license=('LGPL3')
depends=('glibc' 'glib2')
2015-07-09 14:16:37 +00:00
makedepends=('python' 'libpng' 'doxygen' 'cmake')
source=("http://sourceforge.net/projects/lensfun/files/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('905168c39c7ccb980ee3d985778723a8c65cddb8')
2013-04-16 15:09:36 +00:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2015-01-11 02:35:06 +00:00
cmake -DLENSFUN_INSTALL_PREFIX=/usr \
-DBUILD_FOR_SSE=off \
-DBUILD_FOR_SSE2=off\
.
2013-02-11 21:14:48 +00:00
make all
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2015-01-11 02:35:06 +00:00
make DESTDIR="$pkgdir" install
2013-02-11 21:14:48 +00:00
}