summaryrefslogtreecommitdiff
path: root/user/kmenuedit
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 17:41:38 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 17:41:38 +0000
commitb1d59606ae1a5f216727a0d2aef54c2063ae68cb (patch)
tree96a5727be3048cd5f4a5baa034e0f6941139a167 /user/kmenuedit
parenta7eb3eecfe90e130fa0d630915ac664bdd49362c (diff)
downloadpackages-b1d59606ae1a5f216727a0d2aef54c2063ae68cb.tar.gz
packages-b1d59606ae1a5f216727a0d2aef54c2063ae68cb.tar.bz2
packages-b1d59606ae1a5f216727a0d2aef54c2063ae68cb.tar.xz
packages-b1d59606ae1a5f216727a0d2aef54c2063ae68cb.zip
user/kmenuedit: new package
Diffstat (limited to 'user/kmenuedit')
-rw-r--r--user/kmenuedit/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/kmenuedit/APKBUILD b/user/kmenuedit/APKBUILD
new file mode 100644
index 000000000..0ec9952e0
--- /dev/null
+++ b/user/kmenuedit/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kmenuedit
+pkgver=5.12.7
+pkgrel=0
+pkgdesc="Menu editor for Plasma 5"
+url="https://www.KDE.org/"
+arch="all"
+license="GPL-2.0+ AND GPL-2.0-only"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev kdbusaddons-dev ki18n-dev
+ kiconthemes-dev kio-dev kxmlgui-dev sonnet-dev kdelibs4support-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.kde.org/stable/plasma/$pkgver/kmenuedit-$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="7bc5df0512b58bcc9e403449a3cafd7889a815d17d7387986750477e1420e71fce4d98980a789a16240ef6d2a7f316df9e0a1525c96b89df193aa601a2571062 kmenuedit-5.12.7.tar.xz"