[arch-commits] Commit in subsurface/trunk (PKGBUILD)

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


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

Update to 4.9.9

Modified:
  subsurface/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++-------------------
 1 file changed, 11 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-19 21:59:10 UTC (rev 757816)
+++ PKGBUILD	2020-11-19 22:00:00 UTC (rev 757817)
@@ -4,8 +4,8 @@
 
 pkgname=subsurface
 _pkgname=Subsurface
-pkgver=4.9.6
-pkgrel=3
+pkgver=4.9.9
+pkgrel=1
 pkgdesc='Divelog program'
 url='https://subsurface-divelog.org/'
 license=('GPL2')
@@ -12,31 +12,23 @@
 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')
+         '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')
+sha512sums=('8e00b61dad580349bef615c0eaf735db1dd5a5ed8b309fe33367598034f5b22fd376a7ee9fcce8c2a2947326eafb010e5cec5bdc4ef0f8dc03d45f8f6bc3e27c')
+b2sums=('e33a00aed92a0751ff4d3d09dd42ce6d0e2eed0dab57f6cca6da4840468b1a43367cf3e14226f64cdac89015a88866b71cee73df0185185feded32d03da73f2c')
 
 # 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' \
+  cmake -B build -S Subsurface-$pkgver \
+        -DCMAKE_INSTALL_PREFIX=/usr \
         -DLIBDIVECOMPUTER_INCLUDE_DIR=/usr/include/libdivecomputer \
-        -W no-dev \
-        -B build \
-        -S .
-  make VERBOSE=1 -C build
+        -Wno-dev
+  cmake --build build
 }
 
 package() {
   depends+=('libgit2.so')
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install -C build
+  DESTDIR="${pkgdir}" cmake --install build
 }



More information about the arch-commits mailing list