blob: e4399c1be1971d568494b4fc0b84b3a64cad6dc1 (
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
|
# $Id: PKGBUILD 161488 2012-06-11 21:02:16Z eric $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Paulius Palevicius <paulius@birzai.com>
pkgname=catdoc
pkgver=0.94.3
pkgrel=1
pkgdesc="A convertor for Microsoft Word, Excel, PowerPoint and RTF Files to text"
arch=(i686 x86_64 'mips64el')
url="http://www.wagner.pp.ru/~vitus/software/catdoc/"
license=('GPL')
depends=('glibc')
optdepends=('tk: for using wordview')
options=('!makeflags')
source=(http://ftp.de.debian.org/debian/pool/main/c/catdoc/${pkgname}_$pkgver.orig.tar.gz)
md5sums=('61212b9fd06b0a31aa7bc9a671130f57')
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's/$(prefix)/$(installroot)$(prefix)/' desktop/Makefile.in
sed -i 's/0.94.2/0.94.3/' configure* doc/*.1 src/makefile.tc
./configure --prefix=/usr --with-wish=/usr/bin/wish
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make installroot="$pkgdir" mandir=/usr/share/man/man1 install
install -d "$pkgdir"/usr/share/man/man1
install -m644 doc/*.1 "$pkgdir"/usr/share/man/man1
}
|