# Maintainer: Mark Wagie # Contributor: skrewball gitlab.com/skrewball/aur # Contributor: malacology pkgname=gnome-shell-extension-blur-my-shell _uuid=blur-my-shell@aunetx pkgver=61 pkgrel=1 pkgdesc="Extension that adds a blur look to different parts of the GNOME Shell" arch=('any') url="https://github.com/aunetx/blur-my-shell" license=('MIT') depends=('gnome-shell') makedepends=('git') _commit=8cb0e5f2e27ec2b7ff76a96cb9ba11fd9bf79b63 # tags/v61^0 source=("git+https://github.com/aunetx/blur-my-shell.git#commit=${_commit}") sha256sums=('49af097f50ac46d0c8df0fed9d53f8b75dad99ccc44a61b93eb8377c40a19c48') pkgver() { cd blur-my-shell git describe --tags | sed 's/^v//;s/-/+/g' } prepare() { cd blur-my-shell } build() { cd blur-my-shell make } package() { cd blur-my-shell install -d "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}" bsdtar xvf "build/${_uuid}.shell-extension.zip" \ -C "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}/" --no-same-owner mv "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}/locale" "$pkgdir/usr/share" install -Dm644 schemas/org.gnome.shell.extensions.blur-my-shell.gschema.xml -t \ "$pkgdir/usr/share/glib-2.0/schemas/" rm -rf "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}/schemas" install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" }