diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-07-30 08:51:11 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-07-30 08:54:53 +0000 |
commit | 5c904717322f8113870abf48cc93c3c8b00ab4e8 (patch) | |
tree | e077e5c3afa20630fd6e96db5872f03d622d639e /main/patch | |
parent | a879839450737e3cbdb64415af42347c97ccfa28 (diff) | |
download | aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2 aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz |
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main/patch')
-rw-r--r-- | main/patch/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD index 4091c3e66..fa8f5e047 100644 --- a/main/patch/APKBUILD +++ b/main/patch/APKBUILD @@ -15,16 +15,21 @@ _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" - ./configure --prefix=/usr \ - --build=${CBUILD} \ - --host=${CHOST} \ - --mandir=/usr/share/man + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 make || return 1 } package() { cd "$_builddir" make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install + rm -rf "$pkgdir"/usr/lib/charset.alias + rmdir -p "$pkgdir"/usr/lib 2>/dev/null + return 0 } md5sums="0881a7c6477862fc395f373ada0ec6b6 patch-2.7.1.tar.bz2" |