# Maintainer: Dušan Simić pkgname=gnome-shell-extension-just-perfection-desktop pkgver=27 _commit=67b2366b0bd31a0c1ee8f33bd5ba355e362c46d9 pkgrel=1 pkgdesc='Just Perfection GNOME Shell Desktop' arch=(any) url=https://gitlab.gnome.org/jrahmatzadeh/just-perfection license=(GPL3) depends=(gnome-shell) makedepends=(git) source=("$pkgname::git+$url.git#commit=$_commit") md5sums=(SKIP) build() { cd "$pkgname" bash scripts/build.sh } package() { cd "$pkgname" _extensiondir="/usr/share/gnome-shell/extensions/just-perfection-desktop@just-perfection" install -d "$pkgdir$_extensiondir" bsdtar -x -f just-perfection-desktop@just-perfection.shell-extension.zip -C "$pkgdir$_extensiondir" install -Dm644 src/schemas/org.gnome.shell.extensions.just-perfection.gschema.xml -t "$pkgdir/usr/share/glib-2.0/schemas" }