# $Id: PKGBUILD 96763 2010-10-24 16:48:37Z ibiru $ # Maintainer: tobias # Contributor: Tobias Kieslich pkgname=libpano13 pkgver=2.9.17 pkgrel=1 pkgdesc="basic library to calculate panoramical pictures - core functions of the panotools" url="http://panotools.sourceforge.net/" arch=('i686' 'x86_64' 'mips64el') license=('GPL2') depends=('libpng' 'libtiff') makedepends=('openjdk6') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/panotools/$pkgname-$pkgver.tar.gz) md5sums=('54ec7c505cf38521f2fbb6e2acd2c433') build() { cd $srcdir/$pkgname-$pkgver # sed -i 's:\(^.*MAX_FISHEYE_FOV.*\)160.*$:\1720.0:' filter.h ./configure --prefix=/usr --mandir=/usr/share/man --with-java=${JAVA_HOME} make make DESTDIR=$pkgdir install }