Commit 3fe27c9f authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by alice
Browse files

community/obconf-qt: move from testing

parent 00494869
...@@ -9,17 +9,18 @@ url="https://github.com/lxqt/obconf-qt" ...@@ -9,17 +9,18 @@ url="https://github.com/lxqt/obconf-qt"
arch="all !s390x !armhf !riscv64" arch="all !s390x !armhf !riscv64"
license="LGPL-2.0-or-later" license="LGPL-2.0-or-later"
makedepends=" makedepends="
cmake lxqt-build-tools liblxqt-dev cmake samurai lxqt-build-tools liblxqt-dev
qt5-qttools-dev openbox-dev qt5-qttools-dev openbox-dev
" "
options="!check" # No testsuite options="!check" # No testsuite
subpackages="$pkgname-lang"
source="https://github.com/lxqt/obconf-qt/releases/download/$pkgver/obconf-qt-$pkgver.tar.xz" source="https://github.com/lxqt/obconf-qt/releases/download/$pkgver/obconf-qt-$pkgver.tar.xz"
build() { build() {
if [ "$CBUILD" != "$CHOST" ]; then if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi fi
cmake -B build \ cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
...@@ -31,6 +32,12 @@ build() { ...@@ -31,6 +32,12 @@ build() {
package() { package() {
DESTDIR="$pkgdir" cmake --build build --target install DESTDIR="$pkgdir" cmake --build build --target install
} }
lang() {
install_if="lang $pkgname=$pkgver-r$pkgrel"
amove usr/share/$pkgname/translations
}
sha512sums=" sha512sums="
bd91a5669f07471966d296b91d78e2a40e2e3640405de2179513457088eb7d6cb063dbfaff623db6f404985734e986b52c1e3155a050f374b7afa58f7d720c0d obconf-qt-0.16.2.tar.xz bd91a5669f07471966d296b91d78e2a40e2e3640405de2179513457088eb7d6cb063dbfaff623db6f404985734e986b52c1e3155a050f374b7afa58f7d720c0d obconf-qt-0.16.2.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