summaryrefslogtreecommitdiff
path: root/community/unrtf/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/unrtf/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/unrtf/PKGBUILD')
-rw-r--r--community/unrtf/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/unrtf/PKGBUILD b/community/unrtf/PKGBUILD
new file mode 100644
index 000000000..9797c8e52
--- /dev/null
+++ b/community/unrtf/PKGBUILD
@@ -0,0 +1,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
+}