blob: 6cf9cd970a10974faf9aca0a3a636f650f52775f (
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
33
34
35
36
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=3.4.0_rc1
_ver=${pkgver%_git*}
pkgrel=1
pkgdesc="Tool to generate initramfs images for Alpine"
url="https://git.alpinelinux.org/cgit/mkinitfs"
arch="all"
license="GPL-2.0"
# currently we do not ship any testsuite
options="!check"
makedepends_build=""
makedepends_host="busybox kmod-dev util-linux-dev cryptsetup-dev linux-headers"
makedepends="$makedepends_build $makedepends_host"
depends="busybox>=1.28.2-r1 apk-tools>=2.9.1 lddtree>=1.25"
subpackages="$pkgname-doc"
install="$pkgname.pre-upgrade $pkgname.post-install $pkgname.post-upgrade"
triggers="$pkgname.trigger=/usr/share/kernel/*"
source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz
0001-features-add-support-for-hid-apple-keyboards.patch
"
builddir="$srcdir/$pkgname-$_ver"
build() {
cd "$builddir"
make VERSION=$pkgver-r$pkgrel
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
}
sha512sums="c3ccf36411ecd30213bd3d9dd58ba70bff3ddf7e7a4f818d9f9bb5cc6d632c04b67982a458ae13d08033a69574c106277b557c9b9aeccf285d53425657978cc9 mkinitfs-3.4.0_rc1.tar.xz
14b7655c92d6cd17de3011a532c5194b52cc926c5da40756b54ef6fae6e62216f24996236518d9f2407d39425f22066f550bf4efd4ef5741c236d15230cc567e 0001-features-add-support-for-hid-apple-keyboards.patch"
|