diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-09-22 23:24:42 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-09-22 23:26:08 +0200 |
commit | 8c23c325fcd82598c3a470d7d44a293911e0fae8 (patch) | |
tree | 5469066fe623b86cbdce3c4fd770ac3d41e89001 | |
parent | cbda0a40fef9d75c600132a415a41fa1eaff657c (diff) | |
download | aports-8c23c325fcd82598c3a470d7d44a293911e0fae8.tar.bz2 aports-8c23c325fcd82598c3a470d7d44a293911e0fae8.tar.xz |
main/mkinitfs: modernize abuild
-rw-r--r-- | main/mkinitfs/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index 3b36fb1a0c..db1ea1cc57 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD @@ -5,6 +5,8 @@ _ver=${pkgver%_git*} pkgrel=3 pkgdesc="Tool to generate initramfs images for Alpine" url="http://git.alpinelinux.org/cgit/mkinitfs" +arch="all" +license="GPL2" makedepends_build="" makedepends_host="kmod-dev util-linux-dev cryptsetup-dev linux-headers" makedepends="$makedepends_build $makedepends_host" @@ -15,18 +17,16 @@ source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz 0001-features-ext4-needs-crc32.patch 0002-fix-booting-from-btrfs-raid.patch " -arch="all" -license="GPL2" +builddir="$srcdir/$pkgname-$_ver" -builddir="$srcdir"/$pkgname-$_ver build() { cd "$builddir" - make VERSION=$pkgver-r$pkgrel || return 1 + make VERSION=$pkgver-r$pkgrel } package() { cd "$builddir" - make install DESTDIR="$pkgdir" || return 1 + make install DESTDIR="$pkgdir" } sha512sums="ec80702c6b41cb7898679377bef949cc1079b006c2dcc760c801f60a411eb1d3b3fd34ae2088b0bd3779202953466bce6efd62253d93dda32a8bca9bcd8942fc mkinitfs-3.1.0.tar.xz |