mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 11:04:36 +08:00
35 lines
725 B
Bash
35 lines
725 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakraos.org
|
|
#
|
|
# maintainer AlmAck
|
|
|
|
pkgname=lensfun
|
|
pkgver=0.3.1
|
|
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.gz")
|
|
md5sums=('7f577385f98b260ea5384b99c6eb03aa')
|
|
|
|
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
|
|
}
|
|
|