diff options
author | Dan Johansen | 2021-04-15 07:11:39 +0200 |
---|---|---|
committer | Dan Johansen | 2021-04-15 07:11:39 +0200 |
commit | 804c9e964b47eb7b5dedeb328fbd6c2e08ed558e (patch) | |
tree | 6c592ba66e31e0aee886625256e420918434d447 /PKGBUILD | |
parent | d2b5f7326555fcde8abdf1a913267ee1bd35e07d (diff) | |
download | aur-804c9e964b47eb7b5dedeb328fbd6c2e08ed558e.tar.gz |
update to 2.0.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
@@ -1,30 +1,33 @@ # Maintainer: Marcus Britanicus # Contributor: Dan Johansen <strit@manjaro.org> + pkgname=libarchive-qt -pkgver=2.0.2 +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') -groups=('coreapps') +makedepends=('cmake' 'ninja') source=("https://gitlab.com/marcusbritanicus/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") -md5sums=('34b06fe1a2e9fa2d1140a7cb3d51597b') +md5sums=('2b751ffcce8c6f6c039b0d9728ca0b89') prepare() { mkdir -p build } build() { - cd ${pkgname}-v${pkgver} - - qmake-qt5 - make + cd build + cmake ../${pkgname}-v${pkgver} \ + -GNinja \ + -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr \ + -DCMAKE_INSTALL_LIBDIR=${pkgdir}/usr/lib + ninja } package() { - cd ${pkgname}-v${pkgver} - make INSTALL_ROOT=${pkgdir} install + cd build + ninja install } |