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

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


    Date: Wednesday, July 8, 2020 @ 11:44:33
  Author: felixonmars
Revision: 661717

switch to ninja

Modified:
  deepin-movie/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-08 11:44:06 UTC (rev 661716)
+++ PKGBUILD	2020-07-08 11:44:33 UTC (rev 661717)
@@ -9,7 +9,7 @@
 url="https://github.com/linuxdeepin/deepin-movie-reborn"
 license=('GPL3')
 depends=('deepin-qt5integration' 'mpv' 'ffmpegthumbnailer')
-makedepends=('cmake' 'qt5-tools')
+makedepends=('cmake' 'ninja' 'qt5-tools')
 groups=('deepin-extra')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-movie-reborn/archive/$pkgver.tar.gz")
 sha512sums=('afc45a9f2a19a839f15ecae23b59989dad73da3eda0d98e35679a626e56d1bfb0cc5294e6b8606895a7ea70c64e0d692b225209198b26def21887d16dd315168')
@@ -16,11 +16,11 @@
 
 build() {
   cd deepin-movie-reborn-$pkgver
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release .
-  make
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release .
+  ninja
 }
 
 package() {
   cd deepin-movie-reborn-$pkgver
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list