[arch-commits] Commit in subsurface/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Nov 19 22:00:12 UTC 2020


    Date: Thursday, November 19, 2020 @ 22:00:12
  Author: arojas
Revision: 757818

archrelease: copy trunk to community-x86_64

Added:
  subsurface/repos/community-x86_64/PKGBUILD
    (from rev 757817, subsurface/trunk/PKGBUILD)
Deleted:
  subsurface/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   76 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 34 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-19 22:00:00 UTC (rev 757817)
+++ PKGBUILD	2020-11-19 22:00:12 UTC (rev 757818)
@@ -1,42 +0,0 @@
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: David Runge <dvzrv at archlinux.org>
-# Contributor: Francois Boulogne <fboulogne at april dot org>
-
-pkgname=subsurface
-_pkgname=Subsurface
-pkgver=4.9.6
-pkgrel=3
-pkgdesc='Divelog program'
-url='https://subsurface-divelog.org/'
-license=('GPL2')
-arch=('x86_64')
-makedepends=('asciidoc' 'cmake' 'libgit2' 'libusb' 'qt5-tools')
-depends=('googlemaps' 'grantlee' 'hicolor-icon-theme' 'libzip' 'libxml2'
-'libxslt' 'subsurface-libdc' 'qt5-svg' 'qt5-location' 'qt5-connectivity'
-'qt5-webkit' 'sqlite')
-source=("https://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz")
-sha512sums=('6bef6a17e505aad2ab3d395483b3890ab358cc3c352671fc41f8e0fd946daee27f6aac98da3ed6f75cac7a148047581ad069d757714f40814f7bb0d950215564')
-b2sums=('2df46f721817c363904dd15f39266ea6d9d29686cad7c541996a28fe05c1c22d67563c2c58f7147c458c5b7746c4cba8bfd0e5bcf277d7360fa85efa80a4800f')
-
-# qt5-webkit still used for: printing, manual
-
-prepare() {
-  mv -v "${_pkgname}-${pkgver}" "${pkgname}-${pkgver}"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE='None' \
-        -DLIBDIVECOMPUTER_INCLUDE_DIR=/usr/include/libdivecomputer \
-        -W no-dev \
-        -B build \
-        -S .
-  make VERBOSE=1 -C build
-}
-
-package() {
-  depends+=('libgit2.so')
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install -C build
-}

Copied: subsurface/repos/community-x86_64/PKGBUILD (from rev 757817, subsurface/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-19 22:00:12 UTC (rev 757818)
@@ -0,0 +1,34 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: David Runge <dvzrv at archlinux.org>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=subsurface
+_pkgname=Subsurface
+pkgver=4.9.9
+pkgrel=1
+pkgdesc='Divelog program'
+url='https://subsurface-divelog.org/'
+license=('GPL2')
+arch=('x86_64')
+makedepends=('asciidoc' 'cmake' 'libgit2' 'libusb' 'qt5-tools')
+depends=('googlemaps' 'grantlee' 'hicolor-icon-theme' 'libzip' 'libxml2'
+         'libxslt' 'subsurface-libdc' 'qt5-svg' 'qt5-location' 'qt5-connectivity'
+         'qt5-webkit' 'sqlite')
+source=("https://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz")
+sha512sums=('8e00b61dad580349bef615c0eaf735db1dd5a5ed8b309fe33367598034f5b22fd376a7ee9fcce8c2a2947326eafb010e5cec5bdc4ef0f8dc03d45f8f6bc3e27c')
+b2sums=('e33a00aed92a0751ff4d3d09dd42ce6d0e2eed0dab57f6cca6da4840468b1a43367cf3e14226f64cdac89015a88866b71cee73df0185185feded32d03da73f2c')
+
+# qt5-webkit still used for: printing, manual
+
+build() {
+  cmake -B build -S Subsurface-$pkgver \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DLIBDIVECOMPUTER_INCLUDE_DIR=/usr/include/libdivecomputer \
+        -Wno-dev
+  cmake --build build
+}
+
+package() {
+  depends+=('libgit2.so')
+  DESTDIR="${pkgdir}" cmake --install build
+}



More information about the arch-commits mailing list