updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perroquet-bzr / PKGBUILD
blob8fa3d6f3105c46be74f76a1242e01580c969dbca
1 # Contributor: wido <widomaker2k7@gmail.com>
3 pkgname=perroquet-bzr
4 pkgver=83
5 pkgrel=1
6 pkgdesc="Perroquet is a educational program to improve playfully your listening in a foreign language"
7 arch=('i686' 'x86_64')
8 url="http://perroquet.b219.org"
9 license=('GPL3')
10 depends=('python' 'gtk2' 'intltool>=0.40.0' 'pygtk' 'gstreamer0.10-good' 'gstreamer0.10-python')
11 optdepends=('gstreamer0.10-plugins')
12 makedepends=('gcc' 'bzr')
13 conflicts=('perroquet')
14 provides=('perroquet')
15 install=perroquet.install
16 md5sums=()
18 _bzrtrunk="lp:perroquet"
19 _bzrmod="trunk"
21 build() {
22     cd ${srcdir}
23   msg "Connecting to the server...."
25   if [ ! -d ./${_bzrmod} ]; then
26     bzr co ${_bzrtrunk} ${_bzrmod} -r ${pkgver}
27   else
28     bzr up ${_bzrmod}
29   fi
31   [ -d ./${_bzrmod}-build ] && rm -rf ./${_bzrmod}-build
32   cp -r ./${_bzrmod} ./${_bzrmod}-build
33   cd ./${_bzrmod}-build
34    ./setup.py build || return 1
35    ./setup.py --without-icon-cache --without-mime-database --without-desktop-database install --root=${pkgdir}/ || return 1
36    }