[arch-commits] Commit in deepin-calendar/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jul 8 11:47:11 UTC 2020


    Date: Wednesday, July 8, 2020 @ 11:47:11
  Author: felixonmars
Revision: 661719

switch to ninja

Modified:
  deepin-calendar/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-08 11:46:14 UTC (rev 661718)
+++ PKGBUILD	2020-07-08 11:47:11 UTC (rev 661719)
@@ -10,7 +10,7 @@
 url="https://github.com/linuxdeepin/dde-calendar"
 license=('GPL3')
 depends=('deepin-qt5integration')
-makedepends=('cmake' 'qt5-tools')
+makedepends=('cmake' 'ninja' 'qt5-tools')
 groups=('deepin')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-calendar/archive/$pkgver.tar.gz")
 sha512sums=('71e6d3973c6ad9f154b13993c269c16d74c04e626d13e61937cc703e7795afc9628fd37fbc3350babf733c39447dc85d59fd55816a828ecd56d6827542f71c8d')
@@ -26,11 +26,11 @@
 
 build() {
   cd dde-calendar-$pkgver
-  cmake -DCMAKE_INSTALL_PREFIX=/usr .
-  make
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
+  ninja
 }
 
 package() {
   cd dde-calendar-$pkgver
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 }


More information about the arch-commits mailing list