1 # Maintainer: Alucryd <alucryd at gmail dot com>
2 pkgname=gnome-shell-extension-mediaplayer-git
5 pkgdesc="A mediaplayer indicator for the Gnome Shell"
7 url="https://github.com/eonpatapon/gnome-shell-extensions-mediaplayer"
9 depends=('gnome-shell')
10 makedepends=('git' 'intltool' 'gnome-common')
11 optdepends=("mpdris2-git: MPD support")
12 install='gschemas.install'
14 _gitroot="https://github.com/eonpatapon/gnome-shell-extensions-mediaplayer.git"
15 _gitname="gnome-shell-extension-mediaplayer"
19 msg "Connecting to the GIT server..."
20 if [[ -d ${srcdir}/${_gitname} ]] ; then
23 msg "The local files are updated..."
25 git clone ${_gitroot} ${_gitname}
28 msg "GIT checkout done."
29 ./autogen.sh --prefix=/usr
34 cd "$srcdir/${_gitname}"
35 make DESTDIR="${pkgdir}" install