You are not logged in.
Antiword converts the binary files from Word 2, 6, 7, 97, 2000, 2002 and 2003 to plain text and to PostScript or PDF.
# Contributor Merk Matthias <macem@chello.at>
pkgname=antiword
pkgver=0.36.1
pkgrel=1
pkgdesc="Antiword is a free MS Word reader for Linux and RISC OS. Antiword converts the binary files from Word 2, 6, 7, 97, 2000, 2002 and 2003 to plain text and to PostScript or PDF"
url="http://www.winfield.demon.nl/"
license="GPL"
source=($url/linux/$pkgname-$pkgver.tar.gz)
md5sums=(d46107219f4afaee658647a49dc45ed9)
build() {
cd $startdir/src/$pkgname-$pkgver
make all || return 1
make DESTDIR=$startdir/pkg GLOBAL_INSTALL_DIR=/usr/bin global_install
}
Usage Examples:
antiword testdoc > test.txt
Converts testdoc.doc into a simple textfile.
antiword -i 0 -p a4 testdoc.doc > test.ps
Converts testdoc.doc into a A4 sized postscript file with images.
antiword -a a4 testdoc.doc > test.pdf
Converts testdoc.doc into a Adobe PDF file.
View antiword -h for all switches.
Offline
is there no "make install" available?
The impossible missions are the only ones which succeed.
Offline
there is, but it installs to the users bin and antiword directories.
i'm not very familiar with makefiles, i couldn't find a other way to install the files globally.
Offline
there is, but it installs to the users bin and antiword directories.
i'm not very familiar with makefiles, i couldn't find a other way to install the files globally.
use the DESTDIR variable :
make DESTDIR=$startdir/pkg global_install
The impossible missions are the only ones which succeed.
Offline
updated the PKGBUILD.
thanx much dp!
Offline
updated the PKGBUILD.
thanx much dp!
gern gscheh ;-)
The impossible missions are the only ones which succeed.
Offline
since default arch install does not have /usr/local/bin in the path the PKGBULD should be fixed to install binaries in /usr/bin.
make DESTDIR=$startdir/pkg GLOBAL_INSTALL_DIR=/usr/bin global_install
thanks
Offline
updated, thx!
Offline