diff options
author | StMartin81 | 2020-11-12 23:29:54 +0100 |
---|---|---|
committer | StMartin81 | 2020-11-12 23:29:54 +0100 |
commit | 1f6f7532e3ee26a518e0e00efa5c149533f9eb53 (patch) | |
tree | c776a23e7de73a4060fb0a03ee9102194b812a8d | |
download | aur-plasma-vault-git.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c3c517d72800 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = plasma-vault-git + pkgdesc = Plasma applet and services for creating encrypted vaults + pkgver = r302.4375903 + pkgrel = 1 + url = https://www.kde.org/ + arch = x86_64 + groups = plasma + license = LGPL + makedepends = extra-cmake-modules + makedepends = git + depends = plasma-workspace-git + depends = networkmanager-qt-git + optdepends = encfs: to use encFS for encryption + optdepends = cryfs: to use cryFS for encryption + optdepends = gocryptfs: to use gocryptfs for encryption + provides = plasma-vault + conflicts = plasma-vault + source = git+https://invent.kde.org/plasma/plasma-vault.git + sha256sums = SKIP + +pkgname = plasma-vault-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4d6a65eff2a0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Martin Stolpe <martin dot stolpe at gmail dot com> +# Contributor: Antonio Rojas <arojas@archlinux.org> + +_pkgname=plasma-vault +pkgname=plasma-vault-git +pkgver=r302.4375903 +pkgrel=1 +pkgdesc="Plasma applet and services for creating encrypted vaults" +arch=(x86_64) +url="https://www.kde.org/" +license=(LGPL) +groups=(plasma) +depends=(plasma-workspace-git networkmanager-qt-git) +makedepends=(extra-cmake-modules git) +optdepends=('encfs: to use encFS for encryption' 'cryfs: to use cryFS for encryption' 'gocryptfs: to use gocryptfs for encryption') +conflicts=(plasma-vault) +provides=(plasma-vault) +source=("git+https://invent.kde.org/plasma/$_pkgname.git") +sha256sums=('SKIP') + +pkgver() { + cd $srcdir/$_pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cmake -B build -S $_pkgname \ + -DBUILD_TESTING=OFF + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} |