From 161d14afdafc49db8acd59b1b583ed09f41baf14 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 17 Mar 2010 07:13:46 +0000 Subject: testing/antiword: use package() function --- testing/antiword/APKBUILD | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testing/antiword/APKBUILD') diff --git a/testing/antiword/APKBUILD b/testing/antiword/APKBUILD index 75f5bf7343f..a6134c9f2f1 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/ -- cgit v1.2.3