mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 13:57:14 +08:00
31 lines
794 B
Bash
31 lines
794 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=lensfun
|
|
pkgver=0.2.7
|
|
pkgrel=1
|
|
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
|
|
arch=('x86_64')
|
|
url="http://lensfun.berlios.de/"
|
|
license=('LGPL3')
|
|
depends=('glibc' 'glib2')
|
|
makedepends=('python2' 'libpng')
|
|
source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('6061cc2d00a42d3e62512878426fc841')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib
|
|
make all
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make INSTALL_PREFIX="$pkgdir" install
|
|
}
|