diff options
Diffstat (limited to 'main/indent/APKBUILD')
-rw-r--r-- | main/indent/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/indent/APKBUILD b/main/indent/APKBUILD index 65c247549d..b68b71f259 100644 --- a/main/indent/APKBUILD +++ b/main/indent/APKBUILD @@ -17,6 +17,7 @@ _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" + update_config_sub || return 1 # apply patches here } @@ -37,7 +38,10 @@ build() { package() { cd "$_builddir" - make SUBDIRS="intl po src man" DESTDIR="$pkgdir" install + make SUBDIRS="intl po src man" DESTDIR="$pkgdir" install || return 1 + rm -rf "$pkgdir"/usr/lib/charset.alias + rmdir -p "$pkgdir"/usr/lib 2>/dev/null + return 0 } md5sums="98beafca62472805a3739d3867d5d70f indent-2.2.11.tar.gz" |