summaryrefslogtreecommitdiff
path: root/community/unrtf/PKGBUILD
blob: 9797c8e52b41fa22511406050375d3a7d19e4092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 8335 2010-01-18 20:36:57Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: froggie <sullivanva@gmail.com>

pkgname=unrtf
pkgver=0.21.1
pkgrel=1
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/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('ce069646837d0a2c15b439a5529afde8')

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
  make || return 1
  make DESTDIR=${pkgdir} install
}