updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gomstream-git / PKGBUILD
blobc3b0a729e06b346ef5e0a857076c4e4e7bf72df5
1 # Maintained by: danielwallace <daniel.wallace12@gmail.com>
3 pkgname=gomstream-git
4 pkgver=20111225
5 pkgrel=1
6 pkgdesc="Watch or Save(or delayed) the GSL stream"
7 arch=('any')
8 url="http://github.com/danielwallace/GOMstreamer"
9 license=('GPL')
10 makedepends=('git')
11 depend=('python2, wget,vlc')
12 provide=('gomstreamer, gomplay')
14 _gitroot="git://github.com/danielwallace/GOMstreamer.git"
15 _gitname="GOMstreamer"
17 build() {
18         #cd ${srcddir}
19         msg "checking git..."
20         if [ -d ${_gitname} ]; then
21                 cd ${_gitname} && git pull origin
22         else
23                 git clone ${_gitroot}
24         fi
26         msg "building..."
27         rm -rf ${srcdir}/${_gitname}-build 
28         
29         git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
31 package(){
32         cd ${srcdir}/${_gitname}-build
33         msg "installing..."
34         install -D -m755 gomstreamer ${pkgdir}/usr/bin/gomstreamer || return 1
35         install -D -m755 gomplay ${pkgdir}/usr/bin/gomplay || return 1
36         cat README