summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 157e3323b516e5d09a77fcb22c76d93f03aad563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Ali Nabipour <alinabipour01@gmail.com>

pkgname=cutefish-kwin-plugins-git
_pkgname=cutefish-kwin-plugins
pkgver=0.8.r0.gfbcb00c
pkgrel=1
pkgdesc="CutefishOS KWin Plugins"
arch=('x86_64')
url="https://github.com/cutefishos/kwin-plugins"
license=('GPL')
groups=('cutefish-git')
depends=('kconfig' 'kdecoration' 'kguiaddons' 'kcoreaddons' 'kconfigwidgets' 'kwindowsystem'
         'kwayland' 'kwin' 'kdeclarative' 'plasma-framework' 'fishui-git')
makedepends=('extra-cmake-modules' 'ninja' 'qt5-tools' 'git')
provides=("$_pkgname")
conflicts=("$_pkgname" "deepin-kwin")
source=("git+$url.git")
sha512sums=('SKIP')

pkgver() {
  cd kwin-plugins
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd kwin-plugins

  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
  ninja
}

package() {
  cd kwin-plugins
  DESTDIR="$pkgdir" ninja install
}