updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / rtfreader / PKGBUILD
blob0f68fe963d7f1e0237c3161bb0223ddc3f898d5e
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=rtfreader
4 pkgver=1
5 pkgrel=1
6 pkgdesc="A portable application/ms-rtf parser"
7 arch=('i686' 'x86_64')
8 url="http://www.fiction.net/blong/programs/#rtf"
9 license=('GPL')
10 depends=('glibc')
11 source=(http://www.fiction.net/blong/programs/ms-rtf.tar.gz
12         $pkgname-hex.diff)
13 md5sums=('fa203d863ec479b36bcbed3abdd4e77e'
14          '2a08f69047adbb622254fd395c697f05')
16 build() {
17   cd "$srcdir/ms-rtf"
18   patch -Np0 -i ../$pkgname-hex.diff || return 1
19   make CFLAGS="$CFLAGS" || return 1
22 package() {
23   cd "$srcdir/ms-rtf"
24   install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"