8909e932d0
[ci:ignore-count]
31 lines
857 B
Text
31 lines
857 B
Text
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"
|
|
depends="xz libarchive zlib lzip bzip2"
|
|
makedepends="qt5-qtbase-dev xz-dev libarchive-dev zlib-dev lzip bzip2-dev"
|
|
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
|
|
}
|
|
|
|
dev() {
|
|
default_dev
|
|
depends="$depends libarchive-dev"
|
|
}
|
|
|
|
sha512sums="3d06beff6f23ec16dfcd3b18e5ade63f22568b7466a539750d916e73be24dac6e4d9551865eea960d2c2745639bd68ae6906d13a3066cc02c8056da44be9f6a2 libarchive-qt-1.0.2.tar.gz"
|