# Maintainer: Marcus Britanicus # Contributor: Dan Johansen pkgname=libarchive-qt pkgver=2.0.4 pkgrel=1 pkgdesc="A Qt based archiving solution with libarchive backend." arch=('x86_64' 'aarch64') url="https://gitlab.com/marcusbritanicus/$pkgname" license=('LGPL-3.0') depends=('libarchive' 'qt5-base' 'zlib' 'bzip2' 'xz') makedepends=('cmake' 'ninja') source=("https://gitlab.com/marcusbritanicus/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") md5sums=('2b751ffcce8c6f6c039b0d9728ca0b89') prepare() { mkdir -p build } build() { cd build cmake ../${pkgname}-v${pkgver} \ -GNinja \ -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr \ -DCMAKE_INSTALL_LIBDIR=${pkgdir}/usr/lib ninja } package() { cd build ninja install }