updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / smart-bzr / PKGBUILD
blob8e8ba52bb0d059e22a7563a33cd79d8690676285
1 # Contrubutor: lh <jarryson#gmail.com>
3 pkgname=smart-bzr
4 _realname=smart
5 pkgver=866
6 pkgrel=1
7 pkgdesc="CThe Smart Package Manager project has the ambitious objective of creating smart and portable algorithms for solving adequately the problem of managing software upgrades and installation."
8 arch=('i686' 'x86_64')
9 url="http://labix.org/smart"
10 license=('GPL')
11 depends=('python')
12 makedepends=('python')
13 source=()
14 provides=(smart)
15 conflicts=(smart)
16 md5sums=()
18 _bzrbranch=lp:smart
19 _bzrmod=smart
21 build() {
22   cd ${srcdir}
24   msg "Connecting to the server...."
26   bzr branch ${_bzrbranch} #-q -r ${pkgver}
28   msg "BZR checkout done or server timeout"
29   msg "Starting make..."
31   [ -d ./${_bzrmod}-build ] && rm -rf ./${_bzrmod}-build
32   cp -r ./${_bzrmod} ./${_bzrmod}-build
33   cd ./${_bzrmod}-build
35   python setup.py build
36   python setup.py install --prefix=${pkgdir}/usr
37   
40 # vim:set ts=2 sw=2 et: