summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Figueiredo2021-02-02 18:43:36 +0000
committerJoão Figueiredo2021-02-02 18:43:36 +0000
commit6dace5733180e55101dda9f254e289f52a156065 (patch)
tree24ba2b013ce260f6552b47a014d6f50b5488c323
downloadaur-6dace5733180e55101dda9f254e289f52a156065.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD33
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..982cd665adc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = libksieve-git
+ pkgdesc = KDE PIM library for managing sieves
+ pkgver = 5.16.42_r1479.gd7035fc3
+ pkgrel = 1
+ url = https://kontact.kde.org
+ arch = x86_64
+ groups = kdepim-git
+ license = LGPL
+ makedepends = git
+ makedepends = extra-cmake-modules-git
+ makedepends = boost
+ makedepends = kdoctools-git
+ depends = kidentitymanagement-git
+ depends = pimcommon-git
+ depends = kmailtransport-git
+ provides = libksieve
+ conflicts = libksieve
+ source = git+https://github.com/KDE/libksieve.git
+ sha256sums = SKIP
+
+pkgname = libksieve-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e9eac629777
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Merged with official ABS libksieve PKGBUILD by João, 2021/02/02 (all respective contributors apply herein)
+# Maintainer: João Figueiredo <jf.mundox@gmail.com>
+
+pkgname=libksieve-git
+pkgver=5.16.42_r1479.gd7035fc3
+pkgrel=1
+pkgdesc="KDE PIM library for managing sieves"
+arch=($CARCH)
+url="https://kontact.kde.org"
+license=(LGPL)
+depends=(kidentitymanagement-git pimcommon-git kmailtransport-git)
+makedepends=(git extra-cmake-modules-git boost kdoctools-git)
+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
+}