updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / slimplayer-git / PKGBUILD
blobf4e2eecd68e4d3c9a0e5e62da0d47c6078623821
1 #Contributor <Themaister> <maister@archlinux.us>
3 pkgname=slimplayer-git
4 pkgver=20101219
5 pkgrel=1
6 pkgdesc="Simple and Lightweight Media Player."
8 url="http://github.com/Themaister/SLIMPlayer"
9 arch=('i686' 'x86_64')
11 license=('GPL')
12 depends=('glfw' 'nvidia-cg-toolkit' 'alsa-lib' 'ffmpeg' 'libass')
13 makedepends=('git' 'gcc>=4.5')
15 _gitroot="git://github.com/Themaister/SLIMPlayer.git"
16 _gitname="SLIMPlayer"
18 build() 
20    cd $srcdir
21    msg "Connection to GIT server ..."
23    if [ -d $_gitname ]; then
24       cd $_gitname
25       git pull
26    else
27       git clone $_gitroot
28       cd $_gitname
29    fi
31    msg "Git checkout done."
33         make
36 package()
38    mkdir -p $pkgdir/usr/bin
39    cd $srcdir/$_gitname
40         make DESTDIR=$pkgdir PREFIX=/usr install