# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=ukui-window-switch
pkgver=3.0.0
pkgrel=3
pkgdesc="Front of the window switcher in UKUI desktop environment"
arch=('x86_64')
license=('GPL')
url="https://github.com/ukui/ukui-window-switch"
groups=('ukui')
depends=('gsettings-qt' '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=('6ee41d32b614f8f96c56ee6faed2d5072479c02d9230065bb001543cde0ef7f088f4b6be17fcce92915472a3ad733337d657122bfb35206256c7195a9396391f')

build() {
  cd ukui-window-switch-$pkgver
  qmake-qt5 PREFIX=/usr
  make
}

package() {
  cd ukui-window-switch-$pkgver
  make INSTALL_ROOT="$pkgdir" install
}
