1 #Contributor: Miguel Aguilar <zodiac_es@yahoo.es>
3 pkgname=gnome-shell-extension-zodiac-icon-manager-git
8 depends=(gnome-shell-extensions-zodiac-common-git)
9 groups=('shell-extensions-zodiac-git')
10 url="http://github.com/zodiac66/shell-extensions-zodiac"
13 makedepends=('intltool' 'gnome-doc-utils' 'git' 'gnome-common')
15 _gitroot="git://github.com/zodiac66/shell-extensions-zodiac"
16 _gitname="shell-extensions-zodiac"
18 install=shell-extensions-zodiac-git.install
19 options=(!libtool !emptydirs)
21 #PKGBUILD specific functions
23 _enabled_extensions="icon-manager"
29 msg "Connecting to the GIT server..."
30 if [[ -d ${srcdir}/${_gitname} ]] ; then
33 msg "The local files are updated..."
35 git clone ${_gitroot} ${_gitname}
38 msg "GIT checkout done."
40 msg2 "Starting make for: ${pkgname}"
42 if [[ -d ${srcdir}/${_gitname}-build ]]; then
43 msg "Cleaning the previous build directory..."
44 rm -rf ${srcdir}/${_gitname}-build
47 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
49 cd ${srcdir}/${_gitname}-build
51 msg "Starting configure..."
52 ./autogen.sh --prefix=/usr --disable-schemas-compile --enable-extensions="${_enabled_extensions}"
57 pkgdesc="Add/remove icons from top bar panel by simple editing dconf settings"
59 cd "${srcdir}/${_gitname}-build/extensions/icon-manager"
60 make DESTDIR="$pkgdir" install