updated on Fri Jan 13 04:01:25 UTC 2012
[aur-mirror.git] / rtf2html / PKGBUILD
blobc3ca560c6f8ad8cf2a0dfa085cd4008a5bca7a18
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=rtf2html
4 pkgver=0.2.0
5 pkgrel=1
6 pkgdesc="An RTF to HTML converter"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/projects/rtf2html/"
9 license=('LGPL')
10 depends=('gcc-libs')
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
12         $pkgname-$pkgver-gcc44.diff)
13 md5sums=('52a8efcd746e100ae147d28c0d0c71b6'
14          '37924c94fa27955c1fa8e6443c72b635')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
18   patch -Np1 -i ../$pkgname-$pkgver-gcc44.diff || return 1
19   ./configure --prefix=/usr
20   make || return 1
23 package() {
24   cd "$srcdir/$pkgname-$pkgver"
25   make DESTDIR="$pkgdir" install