aboutsummaryrefslogtreecommitdiffstats
path: root/community/libarchive-qt/APKBUILD
blob: 99cdc9677bcd6bd156d3ac6ee5e31e39836a09d0 (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
pkgname=libarchive-qt
pkgver=1.0.2
pkgrel=0
pkgdesc="A Qt based archiving solution with libarchive backend"
arch="all"
url="https://gitlab.com/marcusbritanicus/libarchive-qt"
license="LGPL-3.0-or-later"
depends_dev="qt5-qtbase-dev xz-dev libarchive-dev zlib-dev bzip2-dev"
makedepends="$depends_dev lzip"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/marcusbritanicus/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	cd "$builddir"
	qmake-qt5
	make
}

package() {
	cd "$builddir"
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="3d06beff6f23ec16dfcd3b18e5ade63f22568b7466a539750d916e73be24dac6e4d9551865eea960d2c2745639bd68ae6906d13a3066cc02c8056da44be9f6a2  libarchive-qt-1.0.2.tar.gz"