summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDan Johansen2021-04-12 20:34:10 +0200
committerDan Johansen2021-04-12 20:34:10 +0200
commit497f19dcee47e8444fd3b30f063be66089e2fda6 (patch)
treeb0298dd6b6a9bd1ad7e04e927597aba58b6b3464 /PKGBUILD
parent9c85ef62da29bd669fa2ed0cdb8d96845ea5a783 (diff)
downloadaur-497f19dcee47e8444fd3b30f063be66089e2fda6.tar.gz
updated to 4.2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1d7e8835c64..d02c7d4a8ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,29 +2,32 @@
# Contributor: Shaber
pkgname=corehunt
-pkgver=4.1.0
+pkgver=4.2.0
pkgrel=1
pkgdesc="A file finder utility from the CoreApps family."
arch=('x86_64' 'aarch64')
url="https://gitlab.com/cubocore/coreapps/$pkgname"
license=('GPL3')
depends=('qt5-base' 'libcprime>=2.7.1')
+makedepends=('cmake' 'ninja')
groups=('coreapps')
source=("https://gitlab.com/cubocore/coreapps/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
-md5sums=('16553537f55ed038f429e8558946a0e7')
+md5sums=('1ea92885234c7211ae9a2d4d95b36155')
prepare() {
mkdir -p build
}
build() {
- cd ${pkgname}-v${pkgver}
-
- qmake-qt5 ${pkgname}.pro
- 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
}