# Maintainer: Jonian Guveli pkgname=gnome-shell-extension-unite-git pkgver=r999.6572e66 pkgrel=1 pkgdesc="Unite makes GNOME Shell look like Ubuntu Unity Shell" arch=("any") url="https://github.com/hardpixel/unite-shell" license=("GPL") depends=("gnome-shell" "xorg-xprop") optdepends=("gnome-shell-extension-dash-to-dock-git") makedepends=("git") provides=("gnome-shell-extension-unite") conflicts=("gnome-shell-extension-unite") source=("$pkgname::git+$url") md5sums=("SKIP") pkgver() { cd "$srcdir/$pkgname" echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } package() { install -d "$pkgdir/usr/share/gnome-shell/extensions" \ && cp -a "$srcdir/$pkgname/unite@hardpixel.eu" "$_" install -d "$pkgdir/usr/share/glib-2.0" \ && mv "$pkgdir/usr/share/gnome-shell/extensions/unite@hardpixel.eu/schemas" "$_" rm -f "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled" }