You are not logged in.
Pages: 1
# Contributor: Abelian <adam.j.rooke@googlemail.com>
pkgname=pyroom
pkgver=0.2
pkgrel=1
pkgdesc="A Whiteroom clone full-screen text editor"
arch=('i686' 'x86_64')
url="http://pyroom.org/"
license=('GPL3')
depends=('gnome-python')
makedepends=('python' 'bzr')
source=('pyroom.desktop' 'logo.png' 'pyroom.run')
md5sums=('3e9d5b783e128f027ab4a80136801e37'
'9ab62f0175942ad80d6545e9675d1c7b'
'5a66623527959f7bdf07551bae60ff51')
_bzrbranch=lp:pyroom/0.2
_bzrmod=PyRoom
build() {
cd $startdir/src
msg "Connecting to the server...."
if [ ! -d ./$_bzrmod ]; then
bzr branch $_bzrbranch $_bzrmod
else
bzr up $_bzrmod
fi
msg "BZR checkout done or server timeout"
msg "Starting make..."
[ -d ./$_bzrmod-build ] && rm -fr ./$_bzrmod-build
cp -r ./$_bzrmod ./$_bzrmod-build
cd ./$_bzrmod-build
mkdir -p $startdir/pkg/opt/pyroom $startdir/pkg/usr/share/applications
cp -R * $startdir/pkg/opt/pyroom
install -Dm755 ../pyroom.run $startdir/pkg/usr/bin/pyroom
cp ../logo.png $startdir/pkg/opt/pyroom
cp ../pyroom.desktop $startdir/pkg/usr/share/applications
rm -rf $startdir/src/$_bzrmod-build
}
I think its quite wrong...but it works. Any pointers?
Offline
Pages: 1