blob: c039624aa6b41f8219301d5614556ee5c297dffa (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Igor Dyatlov <dyatlov.igor@protonmail.com>
pkgname=gnome-shell-extension-wintile
_uuid=wintile@nowsci.com
_pkgver=2024.11.25-1
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Windows 10 window tiling for GNOME"
arch=('any')
url="https://nowsci.com/wintile"
license=('GPL-3.0-or-later')
depends=('gnome-shell')
makedepends=('zip')
source=("wintile-${_pkgver}.tar.gz::https://github.com/fmstrat/wintile/archive/v${_pkgver}.tar.gz")
sha256sums=('ca96576bf9ea4c93d64d0b45365ed4a9dfda49d47b5e2e040872d46aa6f2557e')
build() {
cd "wintile-${_pkgver}"
sh build.sh
}
package() {
cd "wintile-${_pkgver}"
install -d "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}"
bsdtar -xvf dist/G45/${_uuid}.zip -C \
"$pkgdir/usr/share/gnome-shell/extensions/${_uuid}" --no-same-owner
install -Dvm644 dist/G45/build/schemas/org.gnome.shell.extensions.wintile.gschema.xml -t \
"$pkgdir/usr/share/glib-2.0/schemas/"
rm -rv "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}/schemas/"
}
|