Date: Wednesday, April 1, 2020 @ 21:10:48
  Author: arojas
Revision: 609234

archrelease: copy trunk to community-staging-x86_64

Added:
  sink/repos/community-staging-x86_64/
  sink/repos/community-staging-x86_64/PKGBUILD
    (from rev 609233, sink/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: sink/repos/community-staging-x86_64/PKGBUILD (from rev 609233, 
sink/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-01 21:10:48 UTC (rev 609234)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+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
+}

Reply via email to