updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gnome-shell-extension-autohide-topbar / PKGBUILD
bloba5fbb352c2381f520860533df022df0ebb64df0b
1 # Contributor: Andreas Schrafl <aschrafl@gmail.com>
2 # Based on work form : Alucryd <alucryd@gmail.com>
3 pkgname=gnome-shell-extension-autohide-topbar
4 pkgver=2.0
5 pkgrel=2
6 pkgdesc="A gnome-shell extension to hide the top bar automatically"
7 url=("http://www.fpmurphy.com/gnome-shell-extensions")
8 source=("$url/autohidetopbar-$pkgver.tar.gz")
9 md5sums=('2007eff3d4fc61847191be9fa7955124')
11 _extname=('autohidetopbar@fpmurphy.com')
13 arch=('any')
14 license=('GPL2')
15 depends=('gnome-shell')
17 build() {
18     cd "$srcdir/$_extname"
19     msg "Increase double-clicking threshold."
20     sed -i 's/TIME_DELTA = 1500/TIME_DELTA = 2000/g' extension.js
24 package() {
25     cd "$srcdir"
26     mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/"
27     cp -R "$_extname" "$pkgdir/usr/share/gnome-shell/extensions"