blob: 89d70da7bd8c9ac621cc5203c55aaa5fce35112b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Barnabe di Kartola
pkgname=kde-snap-assist
pkgver=v1.6.2
pkgrel=2
pkgdesc="This KWin script for KDE Plasma suggests other window thumbnails on snap. It tries to replicate the famous Windows 10/11 feature of the same name."
arch=(any)
url="https://github.com/emvaized/kde-snap-assist"
license=(GPLv3)
depends=(kwin)
source=("git+${url}")
md5sums=(SKIP)
package() {
newname=$(echo $pkgname | sed 's/-//g')
mv ${pkgname} ${newname}
mkdir -p "${pkgdir}/usr/share/kwin/scripts/"
rm -r "${srcdir}/${newname}/.git"
rm -r "${srcdir}/${newname}/.github"
rm -r "${srcdir}/${newname}/assets"
cp -R "${srcdir}/${newname}" "${pkgdir}/usr/share/kwin/scripts/"
}
|