From fd46b10b659a53d8a9f83c4b058343cab39d8af7 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Mon, 11 Dec 2017 06:13:07 +0000 Subject: user/lxqt-panel: new package --- user/lxqt-panel/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 user/lxqt-panel/APKBUILD (limited to 'user/lxqt-panel/APKBUILD') diff --git a/user/lxqt-panel/APKBUILD b/user/lxqt-panel/APKBUILD new file mode 100644 index 000000000..a6af945c3 --- /dev/null +++ b/user/lxqt-panel/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Kiyoshi Aman +# Maintainer: Kiyoshi Aman +pkgname=lxqt-panel +pkgver=0.12.0 +pkgrel=0 +pkgdesc="Panel for LXQt desktop" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules lxqt-build-tools libdbusmenu-qt-dev kguiaddons-dev kwindowsystem-dev solid-dev menu-cache-dev lxmenu-data liblxqt-dev lxqt-globalkeys-dev alsa-lib-dev pulseaudio-dev lm_sensors-dev libstatgrab-dev libsysstat-dev qt5-qttools-dev libxkbcommon-dev libxcomposite-dev $depends_dev" +subpackages="$pkgname-doc" +install="" +source="https://github.com/lxde/lxqt-panel/releases/download/$pkgver/lxqt-panel-$pkgver.tar.xz" +builddir="$srcdir/lxqt-panel-$pkgver" + +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" \ + -DPULL_TRANSLATIONS=False \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="bf6307b5e2b1f8063a10c50c8cb187ee4bee8f57031228da256ab6e52ce6b2af4fc2e2cba304468e28000c19e8c907a3f45481dc3887ee6cfac0744c13a3eec2 lxqt-panel-0.12.0.tar.xz" -- cgit v1.2.3-70-g09d2