blob: 08044f51ca87e923a81046b8f6a0aaded7a8e141 (
plain)
1 # Description: Show the text and images of MS Word documents
2 # URL: http://www.winfield.demon.nl
3 # Maintainer: sten, nick dot steeves at shaw dot ca
4 # Packager:
5
6 # Tip: If you put the following entry in your mailcap file,
7 # Some mailclients, like mutt, will extract text from .doc-files:
8 # application/msword;antiword %s;copiousoutput
9
10 name=antiword
11 version=0.36.1
12 release=1
13
14 source=(http://www.winfield.demon.nl/linux/$name-$version.tar.gz)
15
16 build()
17 {
18 cd $name-$version
19 make GLOBAL_INSTALL_DIR=/usr/bin
20 mkdir -p $PKG/usr/bin $PKG/usr/share/$name $PKG/usr/man/man1
21 make DESTDIR=$PKG GLOBAL_INSTALL_DIR=/usr/bin global_install
22 cp Docs/$name.1 $PKG/usr/man/man1
23 chmod 644 $PKG/usr/man/man1/*
24 # kantiword is a shell wrapper to make d&d possible in KDE
25 #rm $PKG/usr/bin/kantiword
26 }
|