From e070dba1356c57e81422250e1f4fc63ba637052d Mon Sep 17 00:00:00 2001 From: Bart Ribbers <bribbers@disroot.org> Date: Tue, 22 Jun 2021 19:01:30 +0200 Subject: [PATCH] community/libepubgen: fix build on riscv64 and modernize --- community/libepubgen/APKBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/community/libepubgen/APKBUILD b/community/libepubgen/APKBUILD index 7c9359e02f56..9fcf72f1b53e 100644 --- a/community/libepubgen/APKBUILD +++ b/community/libepubgen/APKBUILD @@ -9,10 +9,15 @@ license="MPL-2.0" makedepends="librevenge-dev libxml2-dev doxygen" subpackages="$pkgname-dev $pkgname-doc" source="https://download.sourceforge.net/project/libepubgen/libepubgen-$pkgver/libepubgen-$pkgver.tar.bz2" -builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + default_prepare + + update_config_sub + update_config_guess +} build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -25,12 +30,10 @@ build() { check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } -- GitLab