summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Figueiredo2021-02-02 19:28:00 +0000
committerJoão Figueiredo2021-02-02 19:28:00 +0000
commitb808df7467aed6e0d5694b09570e4a19cccd9ba0 (patch)
tree0008a5a4c3b15e78be8d9d232859e8cf88ff3053
downloadaur-b808df7467aed6e0d5694b09570e4a19cccd9ba0.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD33
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..28d6bd472b2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = libkleo-git
+ pkgdesc = KDE PIM cryptographic library
+ pkgver = 5.16.48_r703.g7e354cf
+ pkgrel = 1
+ url = https://kontact.kde.org
+ arch = x86_64
+ groups = kdepim-git
+ license = LGPL
+ makedepends = git
+ makedepends = extra-cmake-modules-git
+ makedepends = boost
+ depends = qgpgme
+ depends = kitemmodels-git
+ depends = kpimtextedit-git
+ provides = libkleo
+ conflicts = libkleo
+ source = git+https://github.com/KDE/libkleo.git
+ sha256sums = SKIP
+
+pkgname = libkleo-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b52c7ed5759
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Merged with official ABS libkleo PKGBUILD by João, 2021/02/02 (all respective contributors apply herein)
+# Maintainer: João Figueiredo <jf.mundox@gmail.com>
+
+pkgname=libkleo-git
+pkgver=5.16.48_r703.g7e354cf
+pkgrel=1
+pkgdesc="KDE PIM cryptographic library"
+arch=($CARCH)
+url="https://kontact.kde.org"
+license=(LGPL)
+depends=(qgpgme kitemmodels-git kpimtextedit-git)
+makedepends=(git extra-cmake-modules-git boost)
+conflicts=(${pkgname%-git})
+provides=(${pkgname%-git})
+groups=(kdepim-git)
+source=("git+https://github.com/KDE/${pkgname%-git}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname%-git}
+ _ver="$(grep -m1 'set(PIM_VERSION' CMakeLists.txt | cut -d '"' -f2 | tr - .)"
+ echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cmake -B build -S ${pkgname%-git} \
+ -DBUILD_TESTING=OFF
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}