summaryrefslogtreecommitdiff
path: root/community/unrtf/PKGBUILD
blob: 9a748207f97d10a02554989a75eaec0ce79af981 (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
27
28
29
# $Id: PKGBUILD 95284 2013-08-08 19:29:43Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: froggie <sullivanva@gmail.com>

pkgname=unrtf
pkgver=0.21.5
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')
changelog=$pkgname.changelog
source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('b6b1afd301dcec1cf377476154fc22ed0ac73aee2b7d56a42e2279cced3943c2')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install
}