mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 19:27:13 +08:00
31 lines
795 B
Bash
31 lines
795 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=lensfun
|
|
pkgver=0.2.6
|
|
pkgrel=1
|
|
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
|
|
arch=(i686 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=('740e4749db04da0a597630dd6339b966')
|
|
|
|
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
|
|
}
|