blob: f4d1a9fdcb92a497253e7bc5dfda87d1a3ad50f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=3.0.6
_ver=${pkgver%_git*}
pkgrel=0
pkgdesc="Tool to generate initramfs images for Alpine"
url="http://git.alpinelinux.org/cgit/mkinitfs"
makedepends_build=""
makedepends_host="kmod-dev util-linux-dev cryptsetup-dev linux-headers"
makedepends="$makedepends_build $makedepends_host"
depends="busybox apk-tools>=2.0 lddtree>=1.25"
install="$pkgname.pre-upgrade $pkgname.post-install $pkgname.post-upgrade"
triggers="$pkgname.trigger=/usr/share/kernel/*"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz
"
arch="all"
license="GPL2"
builddir="$srcdir"/$pkgname-$_ver
build() {
cd "$builddir"
make VERSION=$pkgver-r$pkgrel || return 1
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir" || return 1
}
md5sums="738598b3d7c65be92662b6fbe81decaa mkinitfs-3.0.6.tar.xz"
sha256sums="49a2b1f94b086ca9b984614ec6e66768a6c49d10aab35cdc811d0b5688f2c26a mkinitfs-3.0.6.tar.xz"
sha512sums="f8bae2b934e6beb7f6d9538c1f30b05299c38a86b602675d5bba423f54f999552e906c371a9be7b35f4fd7eb0fe10798b5eb45411b1c6ddf790de3951dce1bbe mkinitfs-3.0.6.tar.xz"
|