diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-17 07:13:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-17 07:13:46 +0000 |
commit | 161d14afdafc49db8acd59b1b583ed09f41baf14 (patch) | |
tree | bf73391db90a36cf60b5a2618c6ae25d30240ff2 /testing | |
parent | 0a077a30634c71e2eb0360e4278c2fcb3071909e (diff) | |
download | aports-161d14afdafc49db8acd59b1b583ed09f41baf14.tar.bz2 aports-161d14afdafc49db8acd59b1b583ed09f41baf14.tar.xz |
testing/antiword: use package() function
Diffstat (limited to 'testing')
-rw-r--r-- | testing/antiword/APKBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/antiword/APKBUILD b/testing/antiword/APKBUILD index 75f5bf734..a6134c9f2 100644 --- a/testing/antiword/APKBUILD +++ b/testing/antiword/APKBUILD @@ -16,7 +16,10 @@ 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/ |