1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
7 # for more information on packaging from GIT sources.
9 # Contributor: Your Name <youremail@domain.com>
13 pkgdesc="a gtk volume wheel for the systray. as simple as it can get."
14 arch=('i686' 'x86_64')
15 url="https://github.com/fogobogo/gtk-vol"
20 _gitroot="git://github.com/fogobogo/gtk-vol.git"
25 msg "Connecting to GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
31 git clone $_gitroot $_gitname
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
49 cd "$srcdir/$_gitname-build"
50 make DESTDIR="$pkgdir/" install