Date: Wednesday, February 12, 2020 @ 16:39:28
  Author: felixonmars
Revision: 569475

upgpkg: ukui-window-switch 2.0.0-1

Modified:
  ukui-window-switch/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-02-12 16:35:23 UTC (rev 569474)
+++ PKGBUILD    2020-02-12 16:39:28 UTC (rev 569475)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=ukui-window-switch
-pkgver=1.1.1
+pkgver=2.0.0
 pkgrel=1
 pkgdesc="Front of the window switcher in UKUI desktop environment"
 arch=('x86_64')
@@ -8,18 +8,11 @@
 license=('GPL')
 url="https://github.com/ukui/ukui-window-switch";
 groups=('ukui')
-depends=('qt5-base' 'ukwm')
-makedepends=('python' 'qt5-tools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-window-switch/archive/v$pkgver.tar.gz";
-        
ukui-window-switch-gdbus.patch::https://github.com/ukui/ukui-window-switch/commit/1b2dcfa8137b207f06fb879f4f0f0694b049c06b.patch)
-sha512sums=('eee429ddbcab1a6d93eda1d1f84b89740b3bf3053bf29ded7488b7b1236eb015c9690e06ccb9da1ad89917daf3a74b3743b6c6753c658a124bbd2706a2b71868'
-            
'0ced8cd9c8ab0b98759f992719f1e46e88dfe3b6a2bd7a85ce8ce76f2b61ceefb31fa271425f8724708acd57942d1924057499dbc053b8d1e597b2f4af2a57bd')
+depends=('libwnck3' 'qt5-x11extras' 'ukwm')
+makedepends=('qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-window-switch/archive/v$pkgver.tar.gz";)
+sha512sums=('c8524c4c6a2abae4c7fb08d5a93c55cff142802508b9e3262f4666457c99f4a570bdfe67eb7bd3bd0563adea515afc65951f8ac103858ac6365f0d245b41b169')
 
-prepare() {
-  cd ukui-window-switch-$pkgver
-  patch -p1 -i ../ukui-window-switch-gdbus.patch
-}
-
 build() {
   cd ukui-window-switch-$pkgver
   qmake-qt5 PREFIX=/usr
@@ -28,6 +21,5 @@
 
 package() {
   cd ukui-window-switch-$pkgver
-  install -Dm755 ukui-window-switch -t "$pkgdir"/usr/bin/
-  install -Dm644 data/ukui-window-switch.desktop -t 
"$pkgdir"/etc/xdg/autostart/
+  make INSTALL_ROOT="$pkgdir" install
 }

Reply via email to