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 /PKGBUILD | |
download | aur-1f6f7532e3ee26a518e0e00efa5c149533f9eb53.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 +} |