updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / plover-bzr / PKGBUILD
blobb251822dbb8c182fd5353ed91f69bd3219f89e2b
1 # Maintainer: craven@gmx.net
2 pkgname=plover-bzr
3 pkgver=43
4 pkgrel=1
5 pkgdesc="Plover is a free open source program intended to bring realtime stenographic technology not just to stenographers, but also to hackers, hobbyists, accessibility mavens, and all-around speed demons."
6 arch=(any)
7 url="https://launchpad.net/plover"
8 license=('GPLv2')
9 groups=()
10 depends=('python2' 'wxpython' 'python-xlib' 'python-pyserial')
11 makedepends=('bzr' 'python2')
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 install=
18 source=()
19 noextract=()
21 _bzrtrunk=http://bazaar.launchpad.net/~joshua-harlan-lifton/plover/trunk/
22 _bzrmod=plover
24 build() {
25   cd "$srcdir"
26   msg "Connecting to Bazaar server...."
28   if [[ -d "$_bzrmod" ]]; then
29     cd "$_bzrmod" && bzr --no-plugins pull "$_bzrtrunk" -r "$pkgver"
30     msg "The local files are updated."
31   else
32     bzr --no-plugins branch "$_bzrtrunk" "$_bzrmod" -q -r "$pkgver"
33   fi
35   msg "Bazaar checkout done or server timeout"
36   msg "Starting build..."
38   rm -rf "$srcdir/$_bzrmod-build"
39   cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-build"
40   cd "$srcdir/$_bzrmod-build"
43 package() {
44   cd "$srcdir/$_bzrmod-build"
45   python2 setup.py install --root="$pkgdir/" --optimize=1
48 # vim:set ts=2 sw=2 et: