updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / clifetion / PKGBUILD
blobc1c2a58830ae2fc46e6ea4617cb81c3cf38c7dab
1 # Contributor: tocer <tocer.deng@gmail.com>
2 pkgname=clifetion
3 pkgver=88
4 pkgrel=1
5 pkgdesc="a fetion client with Chinese command line interface"
6 arch=("any")
7 url="http://code.google.com/p/pytool/"
8 license=('MIT')
9 depends=(python-pyfetion)
10 makedepends=('subversion')
11 _svntrunk=http://pytool.googlecode.com/svn/trunk/
12 _svnmod=pytool
13 _realsvnmod=PyFetion
14 md5sums=()
16 build() {
17   cd "$srcdir"
19   if [ -d $_svnmod/.svn ]; then
20     (cd $_svnmod && svn up -r $pkgver)
21   else
22     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
23   fi
25   msg "SVN checkout done or server timeout"
26   msg "Starting make..."
28   mkdir -p $startdir/pkg/usr/bin
29   install -m 755 "$srcdir/$_svnmod/$_realsvnmod/fetion.py" $startdir/pkg/usr/bin/clifetion