diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-03 04:39:50 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-03 04:41:27 +0000 |
commit | b622f17e4ccfe33c36ffeeff75ddddcf10122ba8 (patch) | |
tree | 28077ce0e9d210d6136e82ae751480c757f495e1 /user/partitionmanager/APKBUILD | |
parent | a9908d0c3242971c4a0d1508774fb9c70734ac78 (diff) | |
download | packages-b622f17e4ccfe33c36ffeeff75ddddcf10122ba8.tar.gz packages-b622f17e4ccfe33c36ffeeff75ddddcf10122ba8.tar.bz2 packages-b622f17e4ccfe33c36ffeeff75ddddcf10122ba8.tar.xz packages-b622f17e4ccfe33c36ffeeff75ddddcf10122ba8.zip |
user/partitionmanager: new package
Diffstat (limited to 'user/partitionmanager/APKBUILD')
-rw-r--r-- | user/partitionmanager/APKBUILD | 44 |
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" |