mirror of
https://github.com/mac-a-r0ni/lxqt.git
synced 2025-01-15 19:22:20 +01:00
26 lines
625 B
Plaintext
26 lines
625 B
Plaintext
# Description: Crossplatform tool for grabbing screenshots of your desktop
|
|
# URL: https://github.com/lxqt/screengrab
|
|
# Maintainer: Jay Lanagan, j at lngn dot net
|
|
# Depends on: kwindowsystem libqtxdg xorg-libx11 xorg-libxcb qt6-base qt6-tools
|
|
|
|
name=screengrab
|
|
version=2.8.0
|
|
release=1
|
|
|
|
source=(https://github.com/lxqt/$name/releases/download/$version/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
mkdir -p build
|
|
cd build
|
|
cmake "$SRC/$name-$version" \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-Wno-dev
|
|
make
|
|
|
|
make DESTDIR="$PKG" install
|
|
|
|
rm -rf $PKG/usr/share/$name/translations
|
|
}
|