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

community/screengrab: move from testing

parent 1c0ca138
...@@ -7,10 +7,10 @@ url="https://github.com/lxqt/screengrab" ...@@ -7,10 +7,10 @@ url="https://github.com/lxqt/screengrab"
arch="all !armhf" # blocked by kwindowsystem-dev arch="all !armhf" # blocked by kwindowsystem-dev
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
makedepends=" makedepends="
cmake lxqt-build-tools qt5-qtbase-dev qt5-qttools-dev cmake samurai lxqt-build-tools qt5-qtbase-dev qt5-qttools-dev
libqtxdg-dev kwindowsystem-dev libqtxdg-dev kwindowsystem-dev
" "
subpackages="$pkgname-doc" subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/lxqt/screengrab/releases/download/$pkgver/screengrab-$pkgver.tar.xz" source="https://github.com/lxqt/screengrab/releases/download/$pkgver/screengrab-$pkgver.tar.xz"
options="!check" # No testsuite options="!check" # No testsuite
...@@ -18,7 +18,7 @@ build() { ...@@ -18,7 +18,7 @@ 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 +31,11 @@ package() { ...@@ -31,6 +31,11 @@ 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="
88aec38b957256f93bebf13facf33135a5a80ed879325342d19d3b102e7103fd23f1f7b3c1702c4bff01898e2b3029b07e50e4fde0de9e206a74484e4aa395ee screengrab-2.4.0.tar.xz 88aec38b957256f93bebf13facf33135a5a80ed879325342d19d3b102e7103fd23f1f7b3c1702c4bff01898e2b3029b07e50e4fde0de9e206a74484e4aa395ee screengrab-2.4.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