blob: f7d4155cd7340f6d41306195b435e8d70a74b3ed (
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: Alexandre DIDIER <archlinux.58b1s@passmail.net>
# Contributor: Nathaniel van Diepen <eeems@eeems.email>
# Contributor: Igor Dyatlov <dyatlov.igor@protonmail.com>
pkgname=gnome-shell-extension-burn-my-windows
_pkgname=Burn-My-Windows
pkgver=48
pkgrel=1
pkgdesc="Disintegrate your windows with style. A GNOME Shell extension."
arch=('any')
url="https://github.com/Schneegans/Burn-My-Windows"
license=('GPL3')
depends=('gnome-shell')
makedepends=('glib2' 'zip')
source=(${url}/archive/v$pkgver.tar.gz)
sha256sums=('e25a91dcfd35a06a6f1acadce63ea5d92c975e9855e6d023b8f04d525d681e2d')
build() {
cd "$_pkgname-$pkgver"
make zip
}
package() {
cd "$_pkgname-$pkgver"
local uuid=$(grep -Po '(?<="uuid": ")[^"]*' metadata.json)
install -d "$pkgdir/usr/share/gnome-shell/extensions/${uuid}"
bsdtar -xvf ${uuid}.zip -C "$pkgdir/usr/share/gnome-shell/extensions/${uuid}"
glib-compile-schemas "$pkgdir/usr/share/gnome-shell/extensions/${uuid}/schemas"
}
|