opt/antiword/Pkgfile

20 lines
659 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Show the text and images of MS Word documents
# URL: http://www.winfield.demon.nl
2008-06-24 20:50:32 +02:00
# Maintainer: Antti Nykanen, aon at iki dot fi
# Packager: sten, nick dot steeves at shaw dot ca
2006-02-23 16:26:10 +01:00
name=antiword
version=0.37
2006-02-23 16:26:10 +01:00
release=1
source=(http://www.winfield.demon.nl/linux/$name-$version.tar.gz)
build() {
2006-02-23 16:26:10 +01:00
cd $name-$version
make GLOBAL_INSTALL_DIR=/usr/bin OPT="$CFLAGS"
install -d -m 0755 $PKG/usr/bin $PKG/usr/share/$name $PKG/usr/man/man1
2006-02-23 16:26:10 +01:00
make DESTDIR=$PKG GLOBAL_INSTALL_DIR=/usr/bin global_install
install -D -m 0644 Docs/$name.1 $PKG/usr/man/man1/$name.1
2006-02-23 16:26:10 +01:00
# kantiword is a shell wrapper to make d&d possible in KDE
#rm $PKG/usr/bin/kantiword
}