# Maintainer: Chih-Hsuan Yen pkgname=lxqt-archiver pkgver=0.8.0 pkgrel=1 pkgdesc="A simple & lightweight desktop-agnostic Qt file archiver" arch=("x86_64") groups=("lxqt") url="https://github.com/lxqt/$pkgname" license=("GPL2") depends=('libfm-qt' 'qt5-x11extras' 'glib2' 'json-glib' 'libfm-qt.so') makedepends=('cmake' 'qt5-tools' 'lxqt-build-tools') optdepends=( 'libarchive: for handling rpm files' ) source=("https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}) sha256sums=('29d3195026185f88107b849bfd546d4534042621b3c28d3e9a23106e5097ce24' 'SKIP') validpgpkeys=( "19DFDF3A579BD509DBB572D8BE793007AD22DF7E" # Pedram Pourang ) build() { cmake -B build -S $pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=lib make -C build } package() { cd build make DESTDIR="$pkgdir" install }