summaryrefslogtreecommitdiffstats
path: root/main/antiword/APKBUILD
blob: 8f6137ae856cdb00449f1563e61a873c8500a0c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=antiword
pkgver=0.37
pkgrel=1
pkgdesc="free MS Word reader"
url="http://www.winfield.demon.nl"
arch="x86 x86_64"
license="GPL"
depends=""
makedepends=""
install=
subpackages=""
source="http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	install -m755 -D "$srcdir"/"$pkgname-$pkgver"/$pkgname "$pkgdir"/usr/bin/$pkgname
	mkdir -p "$pkgdir"/usr/share/antiword
	install -m644 -D "$srcdir"/"$pkgname-$pkgver"/Resources/* "$pkgdir"/usr/share/antiword/
}

md5sums="f868e2a269edcbc06bf77e89a55898d1  antiword-0.37.tar.gz"