From 9711df7ac68dd05da608e7491ea646a0dcbd157e Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Mon, 22 Aug 2016 16:42:28 +0000 Subject: [PATCH] community/inotify-tools-inc: update config guess (build fix aarch64) --- community/inotify-tools-inc/APKBUILD | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/community/inotify-tools-inc/APKBUILD b/community/inotify-tools-inc/APKBUILD index 73c2fecb458..0d05533c17f 100644 --- a/community/inotify-tools-inc/APKBUILD +++ b/community/inotify-tools-inc/APKBUILD @@ -14,19 +14,15 @@ source="https://github.com/downloads/rvoicilas/$_realname/$_realname-$pkgver.tar add-include-regex.patch " -_builddir="$srcdir"/$_realname-$pkgver +builddir="$srcdir"/$_realname-$pkgver + prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare || return 1 + update_config_guess || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -36,7 +32,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 # post-install message mkdir -p "$pkgdir/usr/share/doc/$pkgname"