mirror of
https://github.com/mac-a-r0ni/lxqt.git
synced 2025-01-15 19:22:20 +01:00
2eb9db8827
initial import
27 lines
608 B
Plaintext
27 lines
608 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
|
|
|
|
name=screengrab
|
|
version=2.9.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/doc
|
|
rm -rf $PKG/usr/share/$name/translations
|
|
}
|