updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / read-me / PKGBUILD
blobec237dbf5ffaee24bd8e1bb14b1c9adcd79cf123
1 # Maintainer: Jakub Kozisek <nodevel at gmail dot com>
3 pkgname=read-me
4 pkgver=0.1.5
5 pkgrel=1
6 pkgdesc="A desktop reader for Google Reader"
7 arch=('i686' 'x86_64')
8 url="http://www.atareao.es/ubuntu/software-para-tu-ubuntu/google-reader-en-tu-escritorio-de-ubuntu-gracias-a-read-me/"
9 license=('GPLv3')
10 depends=('python2-gconf' 'pycrypto' 'pywebkitgtk' 'python-simplejson' 'python-lxml' 'python2-httplib2')
11 source=(https://launchpad.net/~atareao/+archive/atareao/+files/${pkgname}_$pkgver-1ubuntu1_all.deb)
13 build() {
14     msg "Extracting..."
15     ar -xv ${pkgname}_${pkgver}-1ubuntu1_all.deb || return 1
16     tar -xvf data.tar.gz || return 1
17     msg2 "Done extracting!"
18     cd usr/share/applications
19     sed -i 's|Exec=python /usr/share/read-me/read-me|Exec=python2 /usr/share/read-me/read-me|' read-me.desktop
20     cd ../read-me
21     sed -i 's|settings.props.gtk_button_images = True||' read-me
22     sed -i 's|#! /usr/bin/python|#! /usr/bin/python2|' read-me
23     msg "Moving files"
24     mv $srcdir/usr $pkgdir/usr
25     msg2 "Done moving files"
28 md5sums=('30b0caa55e2cc105f6eccb3211758075')