summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8141d8f31ccc426c56e667fd70c9d666b7fd39a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Omid Momenzadeh "OmidMnz"

pkgname=kwin-script-grid-tiling
_pkgname=Grid-Tiling-Kwin
pkgver=20190827
pkgrel=1
pkgdesc="A kwin script that automatically tiles windows"
arch=('any')
url="https://github.com/lingtjien/Grid-Tiling-Kwin"
license=('GPL3')
depends=('kwin')
source=("git+https://github.com/lingtjien/Grid-Tiling-Kwin.git")
sha512sums=('SKIP')

package() {
  cd "${srcdir}/${_pkgname}/"
  mkdir -p "${pkgdir}/usr/share/kwin/scripts/grid-tiling/"
  cp -r "contents" "${pkgdir}/usr/share/kwin/scripts/grid-tiling/contents"
  cp "metadata.desktop" "${pkgdir}/usr/share/kwin/scripts/grid-tiling/metadata.desktop"
  mkdir -p "${pkgdir}/usr/share/kservices5"
  cp "${pkgdir}/usr/share/kwin/scripts/grid-tiling/metadata.desktop" "${pkgdir}/usr/share/kservices5/${pkgname}.desktop"
}