diff options
author | João Figueiredo | 2021-02-02 19:27:05 +0000 |
---|---|---|
committer | João Figueiredo | 2021-02-02 19:27:05 +0000 |
commit | 65c476b506266c73a5393cedb141ac8d1a10ae6e (patch) | |
tree | 9da942b94145be6184fbd711733dfa62af7a3ec9 | |
download | aur-65c476b506266c73a5393cedb141ac8d1a10ae6e.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..998862163065 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = akonadi-notes-git + pkgdesc = Libraries and daemons to implement management of notes in Akonadi + pkgver = 5.16.40_r977.g9ba4b7e + pkgrel = 1 + url = https://kontact.kde.org + arch = x86_64 + groups = kdepim-git + license = LGPL + makedepends = git + makedepends = extra-cmake-modules-git + depends = kmime-git + provides = akonadi-notes + conflicts = akonadi-notes + source = git+https://github.com/KDE/akonadi-notes.git + sha256sums = SKIP + +pkgname = akonadi-notes-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..50c1794f27e1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Merged with official ABS akonadi-notes PKGBUILD by João, 2021/02/02 (all respective contributors apply herein) +# Maintainer: João Figueiredo <jf.mundox@gmail.com> + +pkgname=akonadi-notes-git +pkgver=5.16.40_r977.g9ba4b7e +pkgrel=1 +pkgdesc="Libraries and daemons to implement management of notes in Akonadi" +arch=($CARCH) +url="https://kontact.kde.org" +license=(LGPL) +depends=(kmime-git) +makedepends=(git extra-cmake-modules-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 +} |