summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDan Johansen2021-04-15 07:11:39 +0200
committerDan Johansen2021-04-15 07:11:39 +0200
commit804c9e964b47eb7b5dedeb328fbd6c2e08ed558e (patch)
tree6c592ba66e31e0aee886625256e420918434d447 /PKGBUILD
parentd2b5f7326555fcde8abdf1a913267ee1bd35e07d (diff)
downloadaur-804c9e964b47eb7b5dedeb328fbd6c2e08ed558e.tar.gz
update to 2.0.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2e2af223b345..378a426afa70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}