Date: Tuesday, July 7, 2020 @ 18:45:57 Author: felixonmars Revision: 660096
switch to ninja Modified: deepin-control-center/trunk/PKGBUILD ----------+ PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-07-07 18:45:02 UTC (rev 660095) +++ PKGBUILD 2020-07-07 18:45:57 UTC (rev 660096) @@ -12,7 +12,7 @@ depends=('desktop-file-utils' 'dtkwidget' 'deepin-account-faces' 'deepin-api' 'geoip' 'geoip-database' 'geoip-database-extra' 'deepin-daemon' 'startdde' 'networkmanager-qt' 'deepin-qt-dbus-factory' 'deepin-qt5integration' 'deepin-network-utils') -makedepends=('deepin-dock' 'cmake' 'qt5-tools') +makedepends=('cmake' 'deepin-dock' 'ninja' 'qt5-tools') optdepends=('redshift: automatic color temperature support' 'networkmanager-openconnect: for OpenConnect support' 'networkmanager-openvpn: for OpenVPN support' @@ -58,14 +58,14 @@ build() { cd build - cmake -DDISABLE_SYS_UPDATE=YES -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + cmake -GNinja -DDISABLE_SYS_UPDATE=YES -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib \ ../dde-control-center-$pkgver - make + ninja } package() { cd build - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja install rm "$pkgdir"/etc/xdg/autostart/deepin-ab-recovery.desktop rmdir "$pkgdir"/etc/xdg/autostart "$pkgdir"/etc/xdg "$pkgdir"/etc