took over maintainership, use install instead of cp, chmod and mkdir, use CFLAGS
This commit is contained in:
parent
06fe93225d
commit
ac87b3d780
@ -1,7 +1,7 @@
|
||||
# Description: Show the text and images of MS Word documents
|
||||
# URL: http://www.winfield.demon.nl
|
||||
# Maintainer: sten, nick dot steeves at shaw dot ca
|
||||
# Packager:
|
||||
# Maintainer: Antti Nykänen, aon at iki dot fi
|
||||
# Packager: sten, nick dot steeves at shaw dot ca
|
||||
|
||||
name=antiword
|
||||
version=0.37
|
||||
@ -10,11 +10,10 @@ source=(http://www.winfield.demon.nl/linux/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
make GLOBAL_INSTALL_DIR=/usr/bin
|
||||
mkdir -p $PKG/usr/bin $PKG/usr/share/$name $PKG/usr/man/man1
|
||||
make GLOBAL_INSTALL_DIR=/usr/bin OPT="$CFLAGS"
|
||||
install -d -m 0755 $PKG/usr/bin $PKG/usr/share/$name $PKG/usr/man/man1
|
||||
make DESTDIR=$PKG GLOBAL_INSTALL_DIR=/usr/bin global_install
|
||||
cp Docs/$name.1 $PKG/usr/man/man1
|
||||
chmod 644 $PKG/usr/man/man1/*
|
||||
install -D -m 0644 Docs/$name.1 $PKG/usr/man/man1/$name.1
|
||||
# kantiword is a shell wrapper to make d&d possible in KDE
|
||||
#rm $PKG/usr/bin/kantiword
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user