summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-25 04:43:28 -0800
committerA. Wilcox <awilcox@wilcox-tech.com>2023-11-27 09:59:05 +0000
commitb813ad7cdc300d392e26397ac57a95257f244b99 (patch)
tree39d801e1349001745a7d492dd35b386236d0b750
parentdf47da160af34f9af29676e6c0b534f34078405b (diff)
downloadpackages-b813ad7cdc300d392e26397ac57a95257f244b99.tar.gz
packages-b813ad7cdc300d392e26397ac57a95257f244b99.tar.bz2
packages-b813ad7cdc300d392e26397ac57a95257f244b99.tar.xz
packages-b813ad7cdc300d392e26397ac57a95257f244b99.zip
user/lxqt-menu-data: new package
-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"