From b00699757f5925505258df34447de236fb6002a7 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 20 Jan 2019 22:09:58 +0000 Subject: user/user-manager: move from experimental/, not fully working yet --- user/user-manager/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 user/user-manager/APKBUILD (limited to 'user/user-manager') diff --git a/user/user-manager/APKBUILD b/user/user-manager/APKBUILD new file mode 100644 index 000000000..7864d7720 --- /dev/null +++ b/user/user-manager/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2