updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / montypc-git / PKGBUILD
blob323bd9669f7bebb7127525f9e63fda56dddc7f68
1 # Contributor: Nick B <Shirakawasuna at gmail dot com>
3 pkgname=montypc-git
4 pkgver=20090109
5 pkgrel=1
6 pkgdesc="A Pythonesque mpd client using Qt4."
7 arch=('i686')
8 url="http://jerous.psboard.org/montypc/"
9 license=('GPL')
10 depends=('mpc' 'kdebindings' 'python' 'qt')
11 makedepends=('git')
12 source=(script_montypc)
13 md5sums=('6fff797f6fe20cc0f41c38721bb2cdfa')
15 _gitroot=http://git.jerous.psboard.org/montypc
16 _gitname=montypc
18 build() {
20     cd $startdir/src
22     msg "Connecting to GIT server...."
24     if [ -d $startdir/src/$_gitname ] ; then
25         cd $_gitname && git pull origin
26         msg "The local files are updated."
27     else
28         git clone $_gitroot
29         cd $_gitname
30     fi
32 mkdir -p $startdir/pkg/usr/{bin,share}
33 cp -r $startdir/src/montypc $startdir/pkg/usr/share/montypc
35 install -D -m755 $startdir/src/script_montypc $startdir/pkg/usr/bin/montypc