1 # Maintainer: Shanto <shanto@hotmail.com>
3 pkgname=gnome-shell-extension-places-menu-extended
4 pkgdesc="Extends the official Places Menu extension with some useful additional items and actions"
8 url="http://opendesktop.org/content/show.php/Extended+Places+Menu+Extension?content=146113"
10 depends=(dconf python2)
11 source=(http://opendesktop.org/CONTENT/content-files/146113-extend-places-${pkgver}.tar.gz)
12 md5sums=('1b44c528f31e463f371f5cb494d102c7')
13 install=$pkgname.install
16 cd "$srcdir/extend-places-$pkgver"
18 _extname=places-menu-extended@wdt.developers.gmail.com
19 bin_dir="$pkgdir/usr/bin/"
20 doc_dir="$pkgdir/usr/share/doc/$pkgname"
21 gshellx_dir="$pkgdir/usr/share/gnome-shell/extensions/$_extname"
22 gschema_dir="$pkgdir/usr/share/glib-2.0/schemas"
23 polkit_dir="$pkgdir/usr/share/polkit-1/actions/"
31 sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" epmupdater
33 install -m0755 epmupdater $bin_dir
34 install -m0644 First-Install Update $doc_dir
35 install -m0644 org.gnome.shell.extensions.places-menu-extended.gschema.xml $gschema_dir
36 install -m0644 $_extname/*.{js,json,css} $gshellx_dir
37 install -m0644 org.freedesktop.policykit.pkexec.nautilus-run.policy $polkit_dir