aboutsummaryrefslogtreecommitdiffstats
path: root/main/antiword/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-30 12:07:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-31 12:07:12 +0000
commitaba7983636eb4e7341bf39e39e8e356ec61e16e8 (patch)
tree1f5a0f62196717022d2178c403e8376083bd4af2 /main/antiword/APKBUILD
parent74a319427852c83dbb7105a421e7256008863615 (diff)
downloadaports-aba7983636eb4e7341bf39e39e8e356ec61e16e8.tar.bz2
aports-aba7983636eb4e7341bf39e39e8e356ec61e16e8.tar.xz
main/antiword: specify license
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"