summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/lxqt-menu-data/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/lxqt-menu-data/APKBUILD b/user/lxqt-menu-data/APKBUILD
new file mode 100644
index 000000000..99a14137e
--- /dev/null
+++ b/user/lxqt-menu-data/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=lxqt-menu-data
+pkgver=1.4.1
+pkgrel=0
+pkgdesc="Menu data for LXQt"
+url="https://lxqt.github.io"
+arch="noarch"
+options="!check" # no tests
+license="LGPL-2.1-only"
+depends=""
+makedepends="cmake lxqt-build-tools qt5-qtbase-dev qt5-qttools-dev"
+subpackages=""
+source="https://github.com/lxqt/lxqt-menu-data/releases/download/$pkgver/lxqt-menu-data-$pkgver.tar.xz"
+
+build() {
+ 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} \
+ -Bbuild
+ make -C build
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest build
+}
+
+package() {
+ make -C build DESTDIR="$pkgdir" install
+}
+
+sha512sums="6e3bc518f6d392a4a4c37fd218d034b48400178bc450b7492339f25dc2de21d493c86ebdbe74bd43a6a1a4799d51737a1fb88f89e68f569cb21ac81096124cba lxqt-menu-data-1.4.1.tar.xz"