updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pyroom / PKGBUILD
blob3695c0f5b4b5d7cd78df9324640bf6bbc810a753
1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 # Contributor: Wade Nelson (hollywoodb) <wade.nels@gmail.com>
5 pkgname=pyroom
6 pkgver=0.4.1
7 pkgrel=3
8 pkgdesc='Distraction free full-screen text editor.'
9 arch=('any')
10 url='http://pyroom.org/'
11 license=('GPL3')
12 depends=('pygtk' 'pyxdg')
13 makedepends=('bzr')
14 optdepends=('python-gconf: for GNOME default fonts support')
15 #source=("http://launchpad.net/${pkgname}/${pkgver:0:3}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
16 #md5sums=('35e6dfb611b2732471a78f88465ebf7f')
18 build() {
19 #  cd ${pkgname}-${pkgver}
21 #  python2 setup.py build
23   bzr co http://bazaar.launchpad.net/~pyroom-dev/pyroom/trunk pyroom
25   cd pyroom
27   python2 setup.py build
30 package() {
31 #  cd ${pkgname}-${pkgver}
33 #  python2 setup.py install --root ${pkgdir} --optimize=1
35   # probably needs to get fixed upstream
36 #  install -D -m644 ${pkgname}.1 \
37 #    ${pkgdir}/usr/share/man/man1/${pkgname}.1
38   cd pyroom
40   python2 setup.py install --root=${pkgdir} --optimize=1
42   # probably needs to get fixed upstream
43   install -D -m644 ${pkgname}.1 \
44     ${pkgdir}/usr/share/man/man1/${pkgname}.1