blob: de9c5e111ef81b109739e75e2787a0203d164df6 (
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
30
31
|
# Contributor: TDY <tdy@archlinux.info>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=rtfreader
_pkgname=ms-rtf
pkgver=1
pkgrel=1
pkgdesc="A portable application/ms-rtf parser."
arch=('i686' 'x86_64')
url="http://www.fiction.net/blong/programs/#rtf"
license=('unknown')
depends=('glibc')
source=("http://www.fiction.net/blong/programs/$_pkgname.tar.gz"
$pkgname-hex.diff)
md5sums=('fa203d863ec479b36bcbed3abdd4e77e'
'd81c6651bbec51e77cb88d050be1e147')
prepare() {
cd "$srcdir/$_pkgname"
patch -Np0 -i ../$pkgname-hex.diff
}
build() {
cd "$srcdir/$_pkgname"
make CFLAGS="$CFLAGS"
}
package() {
cd "$srcdir/$_pkgname"
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
}
|