[arch-commits] Commit in hugin/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Wed Dec 27 15:30:58 UTC 2017
Date: Wednesday, December 27, 2017 @ 15:30:57
Author: archange
Revision: 276253
Boost 1.66.0 rebuild
And some PKGBUILD sanitizing
Modified:
hugin/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-27 15:24:29 UTC (rev 276252)
+++ PKGBUILD 2017-12-27 15:30:57 UTC (rev 276253)
@@ -1,5 +1,6 @@
# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
# Contributor: Tobias Kieslich <tobias at archlinux.org>
# Contributor: Giovanni Scafora <giovanni at archlinux.org>
# Contributor: Dominik Ryba <domryba at post.pl>
@@ -6,11 +7,11 @@
pkgname=hugin
pkgver=2017.0.0
-pkgrel=4
-pkgdesc='Panorama photo stitcher'
-url='http://hugin.sourceforge.net/'
+pkgrel=5
+pkgdesc="Panorama photo stitcher"
+arch=('x86_64')
+url="http://hugin.sourceforge.net/"
license=('GPL')
-arch=('x86_64')
makedepends=('cmake' 'boost' 'tclap' 'mesa' 'swig')
depends=('wxgtk2' 'boost-libs' 'enblend-enfuse' 'exiv2' 'libpano13' 'glew'
'python' 'lensfun' 'lapack' 'make' 'sqlite' 'perl-image-exiftool')
@@ -17,21 +18,20 @@
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/r/_r}.tar.bz2")
sha256sums=('86646ea27f32b959d38e7d36270703214b1ae961e379dd64b14d027139cd4609')
+prepare() {
+ mkdir -p build
+}
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -d build
cd build
- cmake .. \
+ cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_LAPACK=yes \
- -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config \
-
+ -DENABLE_LAPACK=yes
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
cd build
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list