[arch-commits] Commit in deepin-calculator/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jul 8 11:47:36 UTC 2020
Date: Wednesday, July 8, 2020 @ 11:47:35
Author: felixonmars
Revision: 661720
switch to ninja
Modified:
deepin-calculator/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-08 11:47:11 UTC (rev 661719)
+++ PKGBUILD 2020-07-08 11:47:35 UTC (rev 661720)
@@ -8,7 +8,7 @@
url="https://github.com/linuxdeepin/deepin-calculator"
license=('GPL3')
depends=('deepin-qt5integration')
-makedepends=('cmake' 'qt5-tools')
+makedepends=('cmake' 'ninja' 'qt5-tools')
groups=('deepin-extra')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-calculator/archive/$pkgver.tar.gz"
deepin-calculator-qt5.15.patch)
@@ -24,11 +24,11 @@
build() {
cd deepin-calculator-$pkgver
- cmake -DCMAKE_INSTALL_PREFIX=/usr .
- make
+ cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
+ ninja
}
package() {
cd deepin-calculator-$pkgver
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list