mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 13:14:36 +08:00
35 lines
726 B
Bash
35 lines
726 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakraos.org
|
|
#
|
|
# maintainer AlmAck
|
|
|
|
pkgname=lensfun
|
|
pkgver=0.3.0
|
|
pkgrel=1
|
|
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
|
|
arch=('x86_64')
|
|
url="http://sourceforge.net/projects/lensfun"
|
|
license=('LGPL3')
|
|
depends=('glibc' 'glib2')
|
|
makedepends=('python2' 'libpng' 'cmake')
|
|
source=("http://sourceforge.net/projects/lensfun/files/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('c553cb37f1b781d1af05787beacf0193')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|