1 # Maintainer: Felix Yan <felixonmars@gmail.com>
6 pkgdesc="PMG - a VOS clone for linux - Git version"
8 url="https://github.com/felixonmars/pmgmusic"
10 depends=("timidity++" "alsa-lib" "gtk2" "glib2" "libglade")
14 _gitroot="git://github.com/felixonmars/pmgmusic.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd "$_gitname" && git pull origin
23 msg "The local files are updated."
29 rm -rf "$srcdir/$_gitname-build"
30 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
40 cd "$srcdir/$_gitname-build"
42 install -Dm755 pmg $pkgdir/usr/bin/pmg
43 install -Dm755 dump_vos $pkgdir/usr/bin/dump_vos