aports/community/libarchive-qt/APKBUILD
2025-05-07 08:25:25 +00:00

37 lines
971 B
Text

# Maintainer:
pkgname=libarchive-qt
pkgver=2.0.8
pkgrel=3
pkgdesc="Qt based archiving solution with libarchive backend"
url="https://gitlab.com/marcusbritanicus/libarchive-qt"
arch="all"
license="LGPL-3.0-or-later"
depends_dev="bzip2-dev"
makedepends="$depends_dev qt6-qtbase-dev xz-dev libarchive-dev zlib-dev lzip meson"
subpackages="$pkgname-dev"
source="https://gitlab.com/marcusbritanicus/libarchive-qt/-/archive/v$pkgver/libarchive-qt-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # no tests
prepare() {
default_prepare
# Binary executable in the repo, WTF?!
rm -rf archiver/archiver
}
build() {
abuild-meson \
-Duse_qt_version=qt6 \
-Dinstall_static=false \
. output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install -C output
}
sha512sums="
6853862ca588b3ba9ead54d3a48f6d1c8f8273f4ceaf20c4c55acd9df02ab52012044f8c57505a078ac0589df5af568f649e39c740ba398f2fef65fc505fef3e libarchive-qt-v2.0.8.tar.gz
"