Commit 6af6202f authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by alice
Browse files

community/liblxqt: move from testing

parent 07c5d0a5
......@@ -9,6 +9,7 @@ arch="all !armhf"
license="LGPL-2.0-or-later"
makedepends="
cmake
samurai
lxqt-build-tools
qt5-qttools-dev
libqtxdg-dev
......@@ -16,7 +17,7 @@ makedepends="
qt5-qtx11extras-dev
libxscrnsaver-dev
"
subpackages="$pkgname-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://github.com/lxqt/liblxqt/releases/download/$pkgver/liblxqt-$pkgver.tar.xz"
options="!check" # No testsuite
......@@ -38,7 +39,7 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
......@@ -52,6 +53,11 @@ package() {
DESTDIR="$pkgdir" cmake --install build
}
lang() {
install_if="lang $pkgname=$pkgver-r$pkgrel"
amove usr/share/lxqt/translations/$pkgname
}
sha512sums="
6789bc64da94d0643dfa7d234a95c533ff31123e9c7e52544d0951b309ce0e86c7323808c527f37b9dc7d06ebb35bef57a7713596d5969d2ae30ccb44cbec283 liblxqt-1.1.0.tar.xz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment