summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a64592d0c6e0eaeb69955dce27093e2ceeb3c199 (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
# Maintainer: Jonian Guveli <https://github.com/jonian/>
pkgname=gnome-shell-extension-unite-git
pkgver=50.0e6a9a0
pkgrel=1
pkgdesc="Unite makes GNOME Shell look like Ubuntu Unity Shell"
arch=("any")
url="https://github.com/jonian/unite-shell"
license=("GPL")
depends=("gnome-shell" "xorg-xprop")
makedepends=("git")
provides=("gnome-shell-extension-unite")
conflicts=("gnome-shell-extension-unite")
source=("$pkgname::git+https://github.com/jonian/unite-shell")
md5sums=("SKIP")

pkgver() {
  cd "${srcdir}/${pkgname}"
  echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

package() {
  mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/"

  cd "$srcdir/$pkgname/dist"
  cp -af "unite@hardpixel.eu" "$pkgdir/usr/share/gnome-shell/extensions/"
}