updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / aafigure-bzr / PKGBUILD
bloba1aa6919e16ed1e4735d216dd03f72961311a613
1 # Contributor: Roberto Alsina <ralsina@kde.org>
2 pkgname=aafigure-bzr
3 pkgver=78
4 pkgrel=1
5 pkgdesc="ASCII art to image converter"
6 arch=('i686' 'x86_64')
7 url="http://launchpad.net/aafigure"
8 license=('custom')
9 depends=('python' 'setuptools')
10 source=( LICENSE.txt aafigure.1)
11 conflicts=('aafigure')
12 provides=('aafigure')
13 _bzrbranch=lp:aafigure
14 _bzrname=aafigure
16 build() {
17   cd ${srcdir}
18   msg "Connecting to BZR server..."
20   if [ -d ${srcdir}/${_bzrname} ] ; then
21     cd ${_bzrname} && bzr pull ${_bzrbranch}
22     msg "Local repository updated."
23   else
24     bzr co ${_bzrbranch}
25   fi
26   #bzr branch ${_bzrbranch} -q -r ${pkgver}
27   cd ${startdir}
29   msg "BZR checkout done or server timeout"  
30   install -D LICENSE.txt $startdir/pkg/usr/share/licenses/aafigure-bzr/COPYING
31   install -D aafigure.1 $startdir/pkg/usr/share/man/man1/aafigure.1
32   cd $startdir/src/aafigure
33   python setup.py install --root=$startdir/pkg || return 1
35 md5sums=('2539d72a3354d9187f2c10acebf2e6dd'
36          '82c749c825d421de0abe21c4f50c671c')