updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / episode-renamer-git / PKGBUILD
blob3022970af726f20f15d1481b2e61c862a0f528e8
1 # Maintainer: soeren <nonick@posteo.de>
3 pkgname=episode-renamer-git
4 pkgver=0.4.5
5 pkgrel=9
6 pkgdesc="Episode renamer is a simple python script that renames folders of TV episode video files to their proper names."
7 arch=('i686' 'x86_64')
8 url="http://github.com/Tovok7/episode-renamer"
9 license=('BSD')
10 depends=('python-simplejson>=2.0.9')
11 makedepends=('python2' 'python2-distribute' 'git')
12 provides=('episoderenamer')
14 _gitroot='git://github.com/Tovok7/episode-renamer.git'
15 _gitname='episode-renamer'
17 build() {
18   cd ${srcdir}
20   if [ -d ${srcdir}/$_gitname ] ; then
21     cd $_gitname && git pull origin
22   else
23     git clone $_gitroot
24   fi
26   cd $_gitname
27   python2 ./setup.py install --root="${pkgdir}" --prefix="/usr" || return 1