2024-07-23 08:20:18 -04:00

27 lines
630 B
Plaintext

# Description: A lightweight desktop-agnostic Qt file archiver
# URL: https://github.com/lxqt/lxqt-archiver
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: glib json-glib libfm-qt qt6-base lxqt-build-tools qt6-tools
# Optional: libarchive p7zip
name=lxqt-archiver
version=1.0.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
}