mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
24 lines
972 B
Bash
24 lines
972 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
|
|
# Contributor: William Rea <sillywilly@gmail.com>
|
|
|
|
pkgname=gutenpy
|
|
pkgver=0.3.0
|
|
pkgrel=6
|
|
pkgdesc="A text reader and catalog browser for Project Gutenberg"
|
|
arch=('i686' 'x86_64')
|
|
url="http://gutenpy.sourceforge.net"
|
|
license=('GPL')
|
|
depends=('pygtk')
|
|
source=(http://downloads.sourceforge.net/sourceforge/gutenpy/gutenpy-${pkgver}.zip gutenpy.desktop)
|
|
md5sums=('3419c5f4020fa48ae48ea472c030b3c1' 'f02167866df0cb143395081b04b4a46e')
|
|
sha1sums=('f9f7fd7823447266eabacd0befda4e52bd97c79c' 'f741244fef917bd64cf337bbffb3c7cd91e6b12e')
|
|
|
|
build() {
|
|
cd ${srcdir}/gutenpy-${pkgver}
|
|
cp ${srcdir}/gutenpy.desktop .
|
|
python setup.py install --root=${pkgdir} || return 1
|
|
chmod 644 ${pkgdir}/usr/share/{doc,pixmaps}/gutenpy/*
|
|
install -m644 ${pkgdir}/usr/share/pixmaps/gutenpy/gutenpy.xpm ${pkgdir}/usr/share/pixmaps/gutenpy.xpm
|
|
ln -s gutenpy.py ${pkgdir}/usr/bin/gutenpy
|
|
}
|