aboutsummaryrefslogtreecommitdiffstats
path: root/main/texinfo
diff options
context:
space:
mode:
Diffstat (limited to 'main/texinfo')
-rw-r--r--main/texinfo/APKBUILD11
1 files changed, 10 insertions, 1 deletions
diff --git a/main/texinfo/APKBUILD b/main/texinfo/APKBUILD
index 121ca9c7d2..8e0b3abc07 100644
--- a/main/texinfo/APKBUILD
+++ b/main/texinfo/APKBUILD
@@ -14,15 +14,24 @@ subpackages="$pkgname-doc"
_builddir="$srcdir"/texinfo-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR=${pkgdir} install || return 1
+
rm -f ${pkgdir}/usr/share/info/dir
gzip ${pkgdir}/usr/share/info/*
+
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null
+ return 0
}
md5sums="54e250014fe698fb4832016158747c03 texinfo-5.1.tar.gz"