1 # Contributor: Andreas Schrafl <aschrafl@gmail.com>
2 # Based on work form : Alucryd <alucryd@gmail.com>
3 pkgname=gnome-shell-extension-autohide-topbar
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')
15 depends=('gnome-shell')
18 cd "$srcdir/$_extname"
19 msg "Increase double-clicking threshold."
20 sed -i 's/TIME_DELTA = 1500/TIME_DELTA = 2000/g' extension.js
26 mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/"
27 cp -R "$_extname" "$pkgdir/usr/share/gnome-shell/extensions"