contrib/rawtherapee/Pkgfile

26 lines
755 B
Plaintext

# Description: A powerful cross-platform raw image processing program
# URL: https://rawtherapee.com/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: fftw gtkmm3 lcms2 lensfun libcanberra libiptcdata librsvg libwebp tdb
name=rawtherapee
version=5.8
release=1
source=(https://github.com/Beep6581/RawTherapee/releases/download/$version/$name-$version.tar.xz)
build() {
cmake -S$name-$version -Bbuild -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED=ON
#-DCMAKE_NAME_SUFFIX=""
cmake --build build
DESTDIR=$PKG cmake --build build --target install
rm -r $PKG/usr/share/doc
find $PKG/usr/share \(\
-iname '*README*' -o \
-iname '*AUTHORS*' \
\) -exec rm -r '{}' \+
}