aboutsummaryrefslogtreecommitdiffstats
path: root/main/antiword/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/antiword/APKBUILD')
-rw-r--r--main/antiword/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/main/antiword/APKBUILD b/main/antiword/APKBUILD
index 21f55ab77e..c26f50a3c1 100644
--- a/main/antiword/APKBUILD
+++ b/main/antiword/APKBUILD
@@ -3,27 +3,29 @@
pkgname=antiword
pkgver=0.37
pkgrel=2
-pkgdesc="free MS Word reader"
+pkgdesc="A free MS Word reader"
url="http://www.winfield.demon.nl"
arch="all"
-license="GPL"
+license="GPL2"
depends=""
makedepends=""
-install=
+install=""
subpackages=""
-source="http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz"
+source="http://www.winfield.demon.nl/linux/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
-
+ cd "$_builddir"
make || return 1
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ 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"