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

27 lines
773 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: froggie <sullivanva@gmail.com>
pkgname=unrtf
pkgver=0.21.0
pkgrel=2
pkgdesc="Command-line program which converts RTF documents to other formats."
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/unrtf/unrtf.html"
license=('GPL3')
depends=('glibc')
source=(http://ftp.gnu.org/gnu/unrtf/unrtf-$pkgver.tar.gz)
md5sums=('8d1f8617d6813308c310f111145c7cb9')
build() {
cd ${srcdir}/$pkgname-$pkgver
#bugfix FS#14043
sed -e 's|/usr/local|/usr|' -i src/{main.h,path.h} || return 1
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make DESTDIR=${pkgdir} install
}