aboutsummaryrefslogtreecommitdiffstats
path: root/community/plasma-pass/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/plasma-pass/APKBUILD')
-rw-r--r--community/plasma-pass/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/plasma-pass/APKBUILD b/community/plasma-pass/APKBUILD
new file mode 100644
index 0000000000..6a7c59c1fa
--- /dev/null
+++ b/community/plasma-pass/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=plasma-pass
+pkgver=1.2.0
+pkgrel=0
+pkgdesc="Plasma applet for the Pass password manager"
+# armhf blocked by qt5-qtdeclarative
+# s390x and mips64 blocked by plasma-framework
+arch="all !armhf !s390x !mips64"
+url="https://kde.org/plasma-desktop/"
+license="LGPL-2.1-or-later"
+makedepends="
+ extra-cmake-modules
+ gpgme-dev
+ ki18n-dev
+ kitemmodels-dev
+ oath-toolkit-dev
+ plasma-framework-dev
+ qt5-qtbase-dev
+ qt5-qtdeclarative-dev
+ "
+
+source="https://download.kde.org/stable/plasma-pass/plasma-pass-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+sha512sums="4ac72af97a8026022459c46eb3d8dec1489dedf0ea47ab8c71a5ab92a9c5e2faca92ef2ed512e5cd0cc181a6aa7b6ab802ae98ce525e97818704e0bf58e4603a plasma-pass-1.2.0.tar.xz"