aboutsummaryrefslogtreecommitdiffstats
path: root/main/automake
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-06-16 01:33:18 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-06-16 01:58:04 +0200
commit08b12ff2f732bca7046c6c9ef96e6b6fa3ed9fc2 (patch)
tree17d94b009b607706cf158eccc18ec32a5fe2d15c /main/automake
parent6f5e78ec9fd84caa7275ea74a6954cdf57ceb899 (diff)
downloadaports-08b12ff2f732bca7046c6c9ef96e6b6fa3ed9fc2.tar.bz2
aports-08b12ff2f732bca7046c6c9ef96e6b6fa3ed9fc2.tar.xz
main/automake: modernize abuild
Diffstat (limited to 'main/automake')
-rw-r--r--main/automake/APKBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/main/automake/APKBUILD b/main/automake/APKBUILD
index e68925c747..cd04540103 100644
--- a/main/automake/APKBUILD
+++ b/main/automake/APKBUILD
@@ -9,24 +9,21 @@ license="GPL2+ MIT Public Domain"
depends="perl"
makedepends="autoconf"
subpackages="$pkgname-doc"
-source=ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
+source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
-_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR=$pkgdir install || return 1
+ cd "$builddir"
+ make DESTDIR=$pkgdir install
}
-md5sums="716946a105ca228ab545fc37a70df3a3 automake-1.15.tar.gz"
-sha256sums="7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924 automake-1.15.tar.gz"
sha512sums="6f201f96431f5e3d3081c4d71c884ae1f4f45b9c5c7a1306c9f3f3d4bd5ee5f6fae47b55d35241b3cae84be555cc0ab84c034acdcd5d9a071f6f0ecdee2dec73 automake-1.15.tar.gz"