Date: Sunday, June 9, 2019 @ 08:29:21 Author: bisson Revision: 478589
archrelease: copy trunk to community-staging-x86_64 Added: subsurface/repos/community-staging-x86_64/ subsurface/repos/community-staging-x86_64/PKGBUILD (from rev 478588, subsurface/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: subsurface/repos/community-staging-x86_64/PKGBUILD (from rev 478588, subsurface/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-06-09 08:29:21 UTC (rev 478589) @@ -0,0 +1,37 @@ +# Contributor: Francois Boulogne <fboulogne at april dot org> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> + +pkgname=subsurface +_pkgname=Subsurface +pkgver=4.8.6 +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=('c8ee45fd3ec2804514babe5e0d7f318ef5bfc4fe760be9ccb6d282ee8b6cf62b') + +# 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 +}