# $Id: PKGBUILD 148830 2012-02-05 11:52:01Z ibiru $ # Maintainer: tobias # Contributor: Tobias Kieslich pkgname=libpano13 pkgver=2.9.18 pkgrel=2 pkgdesc="Basic library to calculate panoramical pictures - core functions of the panotools" arch=('i686' 'x86_64') url="http://panotools.sourceforge.net/" license=('GPL2') depends=('libpng' 'libtiff') makedepends=('openjdk6') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/panotools/${pkgname}-${pkgver}.tar.gz) md5sums=('9c3a4fce8b6f1d79e395896ce5d8776e') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --mandir=/usr/share/man --with-java=${JAVA_HOME} make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }