summaryrefslogtreecommitdiff
path: root/experimental/user-manager/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-16 18:40:02 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-16 18:40:02 +0000
commita35d2c0d00433c0e9d315c0ec7bfb257c5c13c7a (patch)
tree2f740a1775f6b8526d764ec88ff616a68fd3a550 /experimental/user-manager/APKBUILD
parenta40d33bcce50ab17db9438f72b3b36e8a9d5ad16 (diff)
downloadpackages-a35d2c0d00433c0e9d315c0ec7bfb257c5c13c7a.tar.gz
packages-a35d2c0d00433c0e9d315c0ec7bfb257c5c13c7a.tar.bz2
packages-a35d2c0d00433c0e9d315c0ec7bfb257c5c13c7a.tar.xz
packages-a35d2c0d00433c0e9d315c0ec7bfb257c5c13c7a.zip
experimental: add accountsservice and user-manager
user-manager works fine, but needs accountsservice; accountsservice needs fgetspent_r.
Diffstat (limited to 'experimental/user-manager/APKBUILD')
-rw-r--r--experimental/user-manager/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/experimental/user-manager/APKBUILD b/experimental/user-manager/APKBUILD
new file mode 100644
index 000000000..7864d7720
--- /dev/null
+++ b/experimental/user-manager/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=user-manager
+pkgver=5.12.7
+pkgrel=0
+pkgdesc="Manage user accounts from KDE"
+url="https://www.KDE.org/"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.0+ AND GPL-2.0-only"
+depends="accountsservice"
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev kauth-dev kcmutils-dev
+ kconfig-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev
+ kio-dev kwidgetsaddons-dev libpwquality-dev"
+subpackages="$pkgname-lang"
+source="https://download.kde.org/stable/plasma/$pkgver/user-manager-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="286b4adc7ff01c25f1f32bc64e9f119aa693d74e0468e575c792d5357df6066c18de233eb78acd5ed4288518902461ffa7408af8d559e8b5f4081893bdec7f8f user-manager-5.12.7.tar.xz"