[arch-commits] Commit in ukui-panel/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jul 8 11:52:41 UTC 2020
Date: Wednesday, July 8, 2020 @ 11:52:41
Author: felixonmars
Revision: 661723
switch to ninja
Modified:
ukui-panel/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-08 11:52:26 UTC (rev 661722)
+++ PKGBUILD 2020-07-08 11:52:41 UTC (rev 661723)
@@ -12,22 +12,23 @@
replaces=('ukui-indicators')
depends=('dconf' 'gsettings-qt' 'kwindowsystem' 'libqtxdg' 'peony' 'qt5-webkit' 'ukui-biometric-auth'
'ukui-menu' 'ukui-menus')
-makedepends=('cmake' 'qt5-tools')
+makedepends=('cmake' 'ninja' 'qt5-tools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-panel/archive/v$pkgver.tar.gz")
sha512sums=('b0e6e829fb0cdb721c42b548c64cf92dad3a1c025f60864192c1a53f0f92fddcb71ced849f8ff96c23cf4d543af559768ce200a182060f8b8bdbc02e8de12594')
prepare() {
mkdir -p build
+ sed -i '1i #include <QPainterPath>' $pkgname-$pkgver/ukui-flash-disk/ejectInterface.cpp
}
build() {
cd build
cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
+ -GNinja -DCMAKE_INSTALL_PREFIX=/usr
+ ninja
}
package() {
cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list