diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-13 17:24:47 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-13 17:24:47 +0000 |
commit | 2c5733517e0bfbaf127eace6e01e601c95eb779b (patch) | |
tree | d68e833861503c0b6f840b4b5b6f097583c1fe04 /main/menu-cache | |
parent | 916e3989ddc8774547ada7d9c52d3c5ab11ec259 (diff) | |
download | aports-2c5733517e0bfbaf127eace6e01e601c95eb779b.tar.bz2 aports-2c5733517e0bfbaf127eace6e01e601c95eb779b.tar.xz |
main/menu-cache: fix build aarch64
Diffstat (limited to 'main/menu-cache')
-rw-r--r-- | main/menu-cache/APKBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/main/menu-cache/APKBUILD b/main/menu-cache/APKBUILD index b5c58ba4bd..667cd96da0 100644 --- a/main/menu-cache/APKBUILD +++ b/main/menu-cache/APKBUILD @@ -13,19 +13,21 @@ options='libtool' source="http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz" subpackages="$pkgname-dev" -_builddir="$srcdir/$pkgname-$pkgver" +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" - ./configure --prefix=/usr --sysconfdir=/etc \ - --libexecdir=/usr/lib/menu-cache \ - --disable-static || return 1 - make || return 1 + cd "$builddir" + update_config_guess || return 1 + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/menu-cache \ + --disable-static || return 1 + make || return 1 } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 } md5sums="fd296c317a235782fbbd37b6f54bc985 menu-cache-0.5.1.tar.gz" |