# Maintainer: Igor Dyatlov pkgname=gnome-shell-extension-burn-my-windows _pkgname=Burn-My-Windows pkgver=38 pkgrel=1 pkgdesc="Disintegrate your apps the old-school way." arch=('any') url="https://github.com/Schneegans/Burn-My-Windows" license=('GPL3') depends=('gnome-shell') makedepends=('zip') source=(${url}/archive/v$pkgver.tar.gz) b2sums=('7df8b00d6ea0616d384b3bf3ec09d6b73824f65f349a18f6e8170dc9d6ef3cba3490ccf65a724c15f1cd7502be69ceb79141e29cb275eb2f6c1bf77419148666') 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}" }