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

28 lines
653 B
Plaintext

# Description: Core library of PCManFM-Qt (Qt binding for libfm
# URL: https://github.com/lxqt/libfm-qt
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: lxqt-build-tools libexif lxqt-menu-data menu-cache qt6-base
# Optional: gnome-keyring keepassxc kwallet
name=libfm-qt
version=2.0.2
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}6/translations
}