1 # Contributor: Berseker <berseker86 at gmail dot com>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
3 pkgname=gnome-paint-bzr
6 pkgdesc="Simple, easy to use paint program inspired by MS-Paint. BZR Version"
8 url="http://code.google.com/p/gnome-paint/"
10 depends=('gtk2' 'hicolor-icon-theme')
11 makedepends=('subversion' 'intltool')
12 provides=('gnome-paint')
13 conflicts=('gnome-paint')
14 replaces=('gnome-paint' 'gnome-paint-svn')
15 install=$pkgname.install
16 _bzrbranch="lp:gnome-paint"
21 msg "Connecting to the server...."
23 if [ ! -d ./${_bzrmod} ]; then
24 bzr co ${_bzrbranch} ${_bzrmod}
29 msg "Bazaar checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_bzrmod-build"
33 cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-build"
34 cd "$srcdir/$_bzrmod-build"
41 ./configure --prefix=/usr
46 cd "$srcdir/$_bzrmod-build"
47 make DESTDIR="$pkgdir/" install
48 # removing doc directory, only interesting for building
49 rm -rf $pkgdir/usr/doc