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