summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44c15b48d0387a3daf7602beb1c88d0b84f89e86 (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
# Maintainer: D3vil0p3r <vozaanthony[at]gmail[dot]com>

pkgname=kwin-effects-kinetic
pkgver=2.0
pkgrel=1
pkgdesc="KWin effects optimized for a smooth and snappy KDE Plasma experience."
arch=(any)
url='https://github.com/gurrgur/kwin-effects-kinetic'
license=(GPL)
depends=(kwin)
makedepends=(zip)
source=("kwin-effects-kinetic-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('685794b21779fcaad0b769522af1afc3baa2b8b1a6ebaffeb194a2ec0239386a898993507a2b7a87b0278693eee81a3817cdafa93b58fba7048f8851004dd59e')

package() {
	cd "kwin-effects-kinetic-$pkgver"

	cd kinetic_fadingpopups
	zip kinetic_fadingpopups.kwinscript -r contents ../LICENSE metadata.json
	kpackagetool6 -t KWin/Effect -p $pkgdir/usr/share/kwin/effects -i kinetic_fadingpopups.kwinscript
	cd ../kinetic_maximize
	zip kinetic_maximize.kwinscript -r contents ../LICENSE metadata.json
	kpackagetool6 -t KWin/Effect -p $pkgdir/usr/share/kwin/effects -i kinetic_maximize.kwinscript
	cd ../kinetic_scale
	zip kinetic_scale.kwinscript -r contents ../LICENSE metadata.json
	kpackagetool6 -t KWin/Effect -p $pkgdir/usr/share/kwin/effects -i kinetic_scale.kwinscript
	cd ../kinetic_squash
	zip kinetic_squash.kwinscript -r contents ../LICENSE metadata.json
	kpackagetool6 -t KWin/Effect -p $pkgdir/usr/share/kwin/effects -i kinetic_squash.kwinscript
}