mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
862 B
Bash
26 lines
862 B
Bash
# Maintainer : Aaron, phrakture, Griffin <aaron@archlinux.org>
|
|
# Contributor: Gustav Munkby <grddev@gmx.net>
|
|
|
|
pkgname=antiword
|
|
pkgver=0.37
|
|
pkgrel=2
|
|
pkgdesc="Antiword is a free MS Word reader for Linux and RISC OS"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.winfield.demon.nl/"
|
|
license="GPL"
|
|
depends=('glibc')
|
|
install=antiword.install
|
|
source=(http://www.winfield.demon.nl/linux/$pkgname-$pkgver.tar.gz \
|
|
antiword-helper)
|
|
md5sums=('f868e2a269edcbc06bf77e89a55898d1' '01a988376cfd4bb268120ab597c9abe3')
|
|
|
|
build()
|
|
{
|
|
cd $srcdir/$pkgname-$pkgver
|
|
sed -i "s|CFLAGS =.*|CFLAGS = $CFLAGS -DNDEBUG|g; \
|
|
s|GLOBAL_INSTALL_DIR =.*|GLOBAL_INSTALL_DIR = /usr/bin|g" \
|
|
Makefile.Linux
|
|
make DESTDIR=$pkgdir global_install
|
|
install -m755 $srcdir/antiword-helper $pkgdir/usr/bin/
|
|
install -Dm644 Docs/antiword.1 $pkgdir/usr/share/man/man1/antiword.1
|
|
}
|