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

Antonio Rojas arojas at gemini.archlinux.org
Mon Jul 19 08:15:01 UTC 2021


    Date: Monday, July 19, 2021 @ 08:15:00
  Author: arojas
Revision: 978594

Update to 0.9.0

Modified:
  sink/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-19 08:12:44 UTC (rev 978593)
+++ PKGBUILD	2021-07-19 08:15:00 UTC (rev 978594)
@@ -1,29 +1,28 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=sink
-pkgver=0.8.0
-pkgrel=3
-pkgdesc="An offline-caching, synchronization and indexing system for PIM data"
+pkgver=0.9.0
+pkgrel=1
+pkgdesc='An offline-caching, synchronization and indexing system for PIM data'
 arch=(x86_64)
-url="https://community.kde.org/KDE_PIM"
+url='https://community.kde.org/KDE_PIM'
 license=(LGPL)
 depends=(kcontacts kcalendarcore kasync kimap2 kdav2 lmdb libgit2 xapian-core curl)
-makedepends=(extra-cmake-modules flatbuffers)
-source=("https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
-sha256sums=('d75f825167433d577cf500bfb7a3f664288c7805640859de2f873611a9226ff4')
+makedepends=(extra-cmake-modules flatbuffers git)
+#source=(https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz)
+source=(https://invent.kde.org/pim/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
+sha256sums=('b16cf8f7a5f942bf02cdacb4942ef6cb959894ebc4d370ec21be26e948c67349')
 
 prepare() {
-  mkdir -p build
+  sed -e '/CMAKE_CXX_STANDARD/d' -i $pkgname-v$pkgver/CMakeLists.txt # Fix build
   find -name CMakeLists.txt | xargs sed -e '/add_subdirectory(tests)/d' -i  # Don't build tests 
 }
 
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver
-  make
+  cmake -B build -S $pkgname-v$pkgver
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }




More information about the arch-commits mailing list