mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
859 B
Bash
31 lines
859 B
Bash
# $Id$
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable sse, sse2
|
|
|
|
pkgname=lensfun
|
|
pkgver=0.3.2
|
|
pkgrel=2
|
|
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
|
|
arch=(i686 x86_64)
|
|
url="http://lensfun.sourceforge.net"
|
|
license=('LGPL3')
|
|
depends=('glibc' 'glib2')
|
|
makedepends=('python' 'libpng' 'doxygen' 'cmake')
|
|
source=("http://sourceforge.net/projects/lensfun/files/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
|
sha1sums=('1d978b15aa7304d66a4931fa37ca9f8f89396c16')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_FOR_SSE=off \
|
|
-DBUILD_FOR_SSE2=off\
|
|
.
|
|
make all
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|