Date: Wednesday, April 4, 2018 @ 19:33:54 Author: bisson Revision: 314249
archrelease: copy trunk to community-staging-x86_64 Added: subsurface/repos/community-staging-x86_64/ subsurface/repos/community-staging-x86_64/PKGBUILD (from rev 314248, subsurface/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: subsurface/repos/community-staging-x86_64/PKGBUILD (from rev 314248, subsurface/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-04 19:33:54 UTC (rev 314249) @@ -0,0 +1,38 @@ +# $Id$ +# Contributor: Francois Boulogne <fboulogne at april dot org> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> + +pkgname=subsurface +_pkgname=Subsurface +pkgver=4.7.7 +pkgrel=2 +pkgdesc='Divelog program' +url='https://subsurface-divelog.org/' +license=('GPL2') +arch=('x86_64') +makedepends=('cmake' 'asciidoc' 'qt5-tools') +depends=('libzip' 'libxml2' 'libxslt' 'sqlite' 'libusb' 'libgit2' + 'subsurface-libdc' 'qt5-svg' 'qt5-location' + 'qt5-connectivity' 'qt5-webkit' 'grantlee' 'googlemaps') +source=("https://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz") +sha256sums=('7c59223a21a187ce7294c35f6b69a9ab418ea53fe95ec4a9f047c7ee8964077d') + +# qt5-webkit still used for: printing, manual, facebook + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + install -d build + cd build + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIBDIVECOMPUTER_INCLUDE_DIR=/usr/include/libdivecomputer \ + .. + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + cd build + make DESTDIR="${pkgdir}" install +}