PKGBUILDs/community/newsbeuter/PKGBUILD
2009-10-09 21:15:33 -05:00

33 lines
994 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Sven Pfleiderer <pfleidi@roothausen.de>
pkgname=newsbeuter
pkgver=2.0
pkgrel=2
pkgdesc="A RSS feed reader for the text console with special Podcast support."
arch=('i686' 'x86_64')
url="http://www.newsbeuter.org/"
license=('custom: MIT')
depends=('curl' 'libxml2' 'sqlite3')
makedepends=('stfl' 'swig' 'gettext')
optdepends=('ruby')
options=('!libtool')
install=$pkgname.install
source=(http://www.newsbeuter.org/downloads/$pkgname-$pkgver.tar.gz \
$pkgname-archlinux.patch)
md5sums=('3b506b0c87f6e306917b7732d56eecf1'
'b92a7ef0e458b5dee15af01bfdf1f383')
build() {
cd ${srcdir}/$pkgname-$pkgver
patch -Np0 -i ${srcdir}/$pkgname-archlinux.patch || return 1
make prefix=${pkgdir}/usr || return 1
make prefix=${pkgdir}/usr install || return 1
#license
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
}