[arch-commits] Commit in sink/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Jul 19 08:15:10 UTC 2021
Date: Monday, July 19, 2021 @ 08:15:10
Author: arojas
Revision: 978595
archrelease: copy trunk to community-x86_64
Added:
sink/repos/community-x86_64/PKGBUILD
(from rev 978594, sink/trunk/PKGBUILD)
Deleted:
sink/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 57 ++++++++++++++++++++++++++++-----------------------------
1 file changed, 28 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-19 08:15:00 UTC (rev 978594)
+++ PKGBUILD 2021-07-19 08:15:10 UTC (rev 978595)
@@ -1,29 +0,0 @@
-# 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"
-arch=(x86_64)
-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')
-
-prepare() {
- mkdir -p build
- find -name CMakeLists.txt | xargs sed -e '/add_subdirectory(tests)/d' -i # Don't build tests
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: sink/repos/community-x86_64/PKGBUILD (from rev 978594, sink/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-19 08:15:10 UTC (rev 978595)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sink
+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'
+license=(LGPL)
+depends=(kcontacts kcalendarcore kasync kimap2 kdav2 lmdb libgit2 xapian-core curl)
+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() {
+ 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() {
+ cmake -B build -S $pkgname-v$pkgver
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
More information about the arch-commits
mailing list