Date: Tuesday, July 7, 2020 @ 18:45:02 Author: felixonmars Revision: 660095
switch to ninja Modified: deepin-terminal/trunk/PKGBUILD ----------+ PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-07-07 18:44:40 UTC (rev 660094) +++ PKGBUILD 2020-07-07 18:45:02 UTC (rev 660095) @@ -10,7 +10,7 @@ url="https://github.com/linuxdeepin/deepin-terminal" license=('GPL3') depends=('deepin-qt5integration') -makedepends=('chrpath' 'cmake' 'expac' 'lxqt-build-tools' 'qt5-tools') +makedepends=('chrpath' 'cmake' 'expac' 'lxqt-build-tools' 'ninja' 'qt5-tools') optdepends=('zssh: for remote management support') groups=('deepin-extra') source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-terminal/archive/$pkgver.tar.gz") @@ -35,13 +35,13 @@ build(){ cd build - cmake -DDTKCORE_TOOL_DIR=/usr/lib/libdtk-$(expac %v dtkcore | cut -d - -f 1 | cut -d : -f 2)/DCore/bin ../deepin-terminal-$pkgver - make + cmake -GNinja -DDTKCORE_TOOL_DIR=/usr/lib/libdtk-$(expac %v dtkcore | cut -d - -f 1 | cut -d : -f 2)/DCore/bin ../deepin-terminal-$pkgver + ninja } package() { cd build - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja install rm -r "$pkgdir"/build chrpath --delete "$pkgdir"/usr/bin/deepin-terminal