updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wto-git / PKGBUILD
blob63f2bd8b6bb60b523585fa09c526e7384c1a48c9
1 # Contributor: Daniel Strandberg <esodax!nospam!@gmail.com>
3 pkgname=wto-git
4 pkgver=20111005
5 pkgrel=1
6 pkgdesc="web tv orange sans firefox et enregistreur en python"
7 arch=('any')
8 url="http://wto.tuxfamily.org/downloads"
9 license=('GPL')
10 depends=( 'python>=2.6' 'pygtk' 'mplayer')
11 makedepends=('git' )
12 provides=('wto')
13 conflicts=('wto')
14 install=
16 _gitroot="git://git.tuxfamily.org/gitroot/wto/wto.git"
17 _gitname="wto"
19 build() {
20   cd $srcdir
22   if [ -d $_gitname ]; then
23     cd $_gitname && git pull origin || return 1
24   else
25     git clone $_gitroot || return 1
26   fi
27   rm -rf $srcdir/$_gitname-build
28   git clone $srcdir/$_gitname $srcdir/$_gitname-build
30   cd $srcdir/$_gitname-build
32 python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
36 package() {
37 cd $startdir/pkg/usr/bin
41 # vim:ts=2:sw=2:et: