Date: Sunday, August 19, 2018 @ 11:10:02 Author: archange Revision: 372782
archrelease: copy trunk to community-staging-x86_64 Added: hugin/repos/community-staging-x86_64/ hugin/repos/community-staging-x86_64/PKGBUILD (from rev 372781, hugin/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: hugin/repos/community-staging-x86_64/PKGBUILD (from rev 372781, hugin/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-08-19 11:10:02 UTC (rev 372782) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contributor: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Tobias Kieslich <tob...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Dominik Ryba <domr...@post.pl> + +pkgname=hugin +pkgver=2018.0.0 +pkgrel=4 +pkgdesc="Panorama photo stitcher" +arch=('x86_64') +url="http://hugin.sourceforge.net/" +license=('GPL') +makedepends=('cmake' 'boost' 'tclap' 'mesa' 'swig') +depends=('wxgtk2' 'boost-libs' 'enblend-enfuse' 'exiv2' 'libpano13' 'glew' + 'python' 'lensfun' 'lapack' 'make' 'sqlite' 'perl-image-exiftool') +source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/r/_r}.tar.bz2") +sha256sums=('d3af0d066ac50e3bb243a175a64ecda136d87178419457e8822e11bcf0e565cb') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_LAPACK=yes + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}