lxqt/lximage-qt/Pkgfile
2024-07-23 08:20:18 -04:00

26 lines
582 B
Plaintext

# Description: The LXQt image viewer and screenshot tool
# URL: https://github.com/lxqt/lximage-qt
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: hicolor-icon-theme libexif libfm-qt lxqt-build-tools
name=lximage-qt
version=2.0.1
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
}