summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgustawho2021-05-09 21:34:56 -0600
committergustawho2021-05-09 21:34:56 -0600
commit46131698f66eb6d188fb0ebd5083510116d871c3 (patch)
treed33e56202097c4768a5729da9fc4be7ead62f903 /PKGBUILD
parent9188af41944504ba513029f71c0d209fe404a071 (diff)
downloadaur-46131698f66eb6d188fb0ebd5083510116d871c3.tar.gz
PKGBUILD cleanup
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0e0673b3c64..5aec2943569 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com >
pkgname=kalk-git
-pkgver=v0.2.r30.g1b04b29
+pkgver=v0.2.r70.g09f5754
pkgrel=1
pkgdesc="Kalk is a powerful cross-platfrom calculator application built with the Kirigami framework"
arch=('x86_64')
@@ -9,7 +9,7 @@ url="https://invent.kde.org/plasma-mobile/kalk"
license=('GPL3')
depends=('ki18n' 'kconfig' 'kcoreaddons' 'knotifications' 'kirigami2' 'kunitconversion'
'kdbusaddons' 'plasma-framework' 'gmp' 'mpfr' 'qt5-feedback')
-makedepends=('git' 'qt5-tools' 'extra-cmake-modules')
+makedepends=('git' 'qt5-tools' 'qt5-svg' 'extra-cmake-modules')
provides=('kalk')
conflicts=('kalk')
source=("git+${url}.git")
@@ -24,12 +24,10 @@ pkgver() {
}
build() {
- cd "${pkgname%-git}"
- cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
- make -C build
+ cmake -B build -S "${pkgname%-git}" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+ cmake --build build --config Release
}
package() {
- cd "${pkgname%-git}"
- make -C build DESTDIR="${pkgdir}" PREFIX=/usr install
+ DESTDIR="${pkgdir}" cmake --install build --config Release
}