diff options
Diffstat (limited to 'community/unrtf/PKGBUILD')
-rw-r--r-- | community/unrtf/PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/community/unrtf/PKGBUILD b/community/unrtf/PKGBUILD index 9797c8e52..1b3950de9 100644 --- a/community/unrtf/PKGBUILD +++ b/community/unrtf/PKGBUILD @@ -1,26 +1,32 @@ -# $Id: PKGBUILD 8335 2010-01-18 20:36:57Z jlichtblau $ +# $Id: PKGBUILD 60272 2011-12-08 20:04:08Z 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 +pkgver=0.21.2 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) -md5sums=('ce069646837d0a2c15b439a5529afde8') +sha256sums=('acb1b093dd2c7485fc43b128ccaf665d6188f568752cec96d54b693374caddb0') build() { cd ${srcdir}/$pkgname-$pkgver # bugfix FS#14043 - sed -e 's|/usr/local|/usr|' -i src/{main.h,path.h} || return 1 + sed -e 's|/usr/local|/usr|' -i src/{main.h,path.h} ./configure --prefix=/usr - make || return 1 + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + make DESTDIR=${pkgdir} install } |