#Maintainer: Eth-OS @ http://eth-os.org

pkgname=@PROJ@
pkgver=@VERSION@
pkgrel=$(date +%Y%m%d)
pkgdesc="A library to rectify defects introduced by photographic equipment"
url="http://lensfun.berlios.de/"
arch=(i686 x86_64)
license=(GPL)
groups=(kde-svn-all kde-svn)
source=($pkgname-$pkgver.tar.bz2)

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --target=..generic
  make AUTODEP=0 lensfun manual || return 1
  make INSTALL_PREFIX=$pkgdir install || return 1
}
