updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / gomstreamer-git / PKGBUILD
blob5359c59ed9899a4cfe21e97c665be22a383645ae
1 # Maintained by: danielwallace <daniel.wallace12@gmail.com>
3 pkgname=gomstreamer-git
4 pkgver=20120116
5 pkgrel=4
6 pkgdesc="Watch or Save(or delayed) the GSL stream"
7 arch=('any')
8 url="http://github.com/danielwallace/GOMstreamer"
9 license=('GPL')
10 install='gomstream-git.install'
11 makedepends=('git')
12 depends=('python2' 'wget' 'vlc')
13 provides=('gomstreamer')
14 conflicts=('gomstreamer')
16 _gitroot="git://github.com/danielwallace/GOMstreamer.git"
17 _gitname="GOMstreamer"
19 build() {
20         #cd ${srcddir}
21         msg "checking git..."
22         if [ -d ${_gitname} ]; then
23                 cd ${_gitname} && git pull origin
24         else
25                 git clone ${_gitroot}
26         fi
27         rm -rf ${srcdir}/${_gitname}-build 
28         git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
30 package(){
31         cd ${srcdir}/${_gitname}-build
32         msg "packaging...."
33         install -D -m755 gomstreamer ${pkgdir}/usr/bin/gomstreamer
34         install -D -m755 gomplay ${pkgdir}/usr/bin/gomplay