summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/partitionmanager/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/partitionmanager/APKBUILD b/user/partitionmanager/APKBUILD
new file mode 100644
index 000000000..33c6e3bdf
--- /dev/null
+++ b/user/partitionmanager/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=partitionmanager
+pkgver=3.3.1
+pkgrel=0
+pkgdesc="Qt-based partition manager"
+url="https://www.kde.org/applications/system/kdepartitionmanager"
+arch="all"
+license="GPL-3.0+"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev kconfig-dev
+ kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdoctools-dev ki18n-dev
+ kiconthemes-dev kio-dev kjobwidgets-dev kservice-dev kwidgetsaddons-dev
+ kxmlgui-dev kpmcore-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.kde.org/stable/partitionmanager/$pkgver/src/partitionmanager-$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="9189004c27a118510ddf7f148d2a245a7e17d0d0c038ea7486fc50638f2897f947ef2a2a92f0196c277b14e8dafb2f1e2f20978cce5927c04299232ecf8260b0 partitionmanager-3.3.1.tar.xz"