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 # Maintainer: Your Name <youremail@domain.com>
10 pkgname=tudor-volumed-git
13 pkgdesc="ALSA Volume media key daemon. Binds XF86_Volume_* keys."
14 arch=('i386' 'x86_64')
15 url="https://github.com/darvid/tudor-volumed"
17 depends=('glibmm' 'gtkmm' 'gtk2' 'glib2')
19 install=tudor-volumed.install
21 _gitroot="https://github.com/darvid/tudor-volumed"
22 _gitname="tudor-volumed"
26 msg "Connecting to GIT server...."
28 if [ -d $_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
32 git clone $_gitroot $_gitname
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_gitname-build"
39 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
47 cd "$srcdir/$_gitname-build"
48 install -D -m755 "tudor-volumed" "$pkgdir/usr/bin/tudor-volumed"