aboutsummaryrefslogtreecommitdiffstats
path: root/community/libarchive-qt/APKBUILD
blob: f960926b3d38d3829cc26cb92852a677c075ab6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor:
# Maintainer:
pkgname=libarchive-qt
pkgver=1.1.1
pkgrel=0
pkgdesc="A Qt based archiving solution with libarchive backend"
url="https://gitlab.com/marcusbritanicus/libarchive-qt"
options="!check"
arch="all"
license="LGPL-3.0-or-later"
depends_dev="qt5-qtbase-dev xz-dev libarchive-dev zlib-dev bzip2-dev"
makedepends="$depends_dev lzip"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/marcusbritanicus/libarchive-qt/-/archive/v$pkgver/libarchive-qt-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
	rm -f "$pkgdir"/usr/lib/*.a
}
sha512sums="7a4bfc73b474e920471870faf2c9d230cd385cb725a6bc0cb8f4f5a74c47a0cc26e86b9290fb14e10a6d5bef65eee2a46673febe1039fdfa32464fbbfacd8a3d  libarchive-qt-1.1.1.tar.gz"