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 # Contributor: grey <grey271 at btinternet dot com>
10 pkgdesc="Command line tool to manage removable volumes using HAL"
11 arch=('i686' 'x86_64')
12 url="http://github.com/rg3/halrv/tree/master"
14 depends=('python>=2.5')
18 _gitroot="git://github.com/rg3/halrv.git"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
39 python setup.py install --root=${startdir}/pkg || return 1
42 # vim:set ts=2 sw=2 et: