aboutsummaryrefslogtreecommitdiffstats
path: root/main/antiword/APKBUILD
blob: c26f50a3c13ab5f7fe3b6ff99bfe9341d05d2b25 (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
30
31
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=antiword
pkgver=0.37
pkgrel=2
pkgdesc="A free MS Word reader"
url="http://www.winfield.demon.nl"
arch="all"
license="GPL2"
depends=""
makedepends=""
install=""
subpackages=""
source="http://www.winfield.demon.nl/linux/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	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"
sha256sums="8e2c000fcbc6d641b0e6ff95e13c846da3ff31097801e86702124a206888f5ac  antiword-0.37.tar.gz"
sha512sums="6cd8fb9137238417544cf8754829a2d5296055d730ea62a8a025236baa79516190317d146401ff40cde73e1ee2c3c374a2ea01b2e5d24e149310bcabb8bfdce8  antiword-0.37.tar.gz"