updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kirss / PKGBUILD
blobdff73b6352b4c6f2d6ee525f8b6579ce5c7b1c58
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Nathan Jones <nathanj@insightbb.com>
4 pkgname=kirss
5 pkgver=0.8.1
6 pkgrel=1
7 pkgdesc="A simple RSS aggregator that outputs an HTML file"
8 arch=('any')
9 url="http://github.com/nathanj/kirss/"
10 license=('BSD')
11 depends=('python>=2.5')
12 source=("http://home.insightbb.com/~nathanj/kirss/$pkgname-$pkgver.tar.gz")
13 md5sums=('330f73b4bd6f25fd056b97fa9973a311')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   sed -i 's#man/#share/&#; 15 s/\.py//' setup.py
18   ln -sf $pkgname.py $pkgname
19   python setup.py build || return 1
22 package() {
23   cd "$srcdir/$pkgname-$pkgver"
24   python setup.py install --prefix=/usr --root="$pkgdir"
25   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"