blob: 09b4d5380457c926f2ffd1f94e6c476f6ddd82c2 (
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
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=2.7.1
_ver=${pkgver%_git*}
pkgrel=3
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox apk-tools>=2.0 lddtree>=1.25"
install="$pkgname.pre-upgrade"
triggers="$pkgname.trigger=/usr/share/kernel/*"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz
0001-init-fix-splash-fifo-and-make-config-file-optional.patch
0002-support-for-tmpfs-overlay-over-root.patch
"
arch="noarch"
license="GPL-2"
_builddir="$srcdir"/$pkgname-$_ver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch)
msg $i; patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
}
build() {
cd "$_builddir"
make VERSION=$pkgver-r$pkgrel || return 1
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir" || return 1
}
md5sums="9a815b988bb5be3ac3ab09e7904027e6 mkinitfs-2.7.1.tar.xz
68c2d5e5e15b6f691f39b8c26dd9514a 0001-init-fix-splash-fifo-and-make-config-file-optional.patch
d70426b776b5ae61f6712c19f6e7d203 0002-support-for-tmpfs-overlay-over-root.patch"
sha256sums="152acf1f4f23b8919a79c6a29590cff2db594ad42dec1b60316e9740366ec43d mkinitfs-2.7.1.tar.xz
8d6b5f6b2024dce0c26846966b236513726ced6d61eca335524b5759f957ecda 0001-init-fix-splash-fifo-and-make-config-file-optional.patch
6c7b08c9e38f7816cfcd8519c9622b7252a90769898e705e2a16f1112a99f96a 0002-support-for-tmpfs-overlay-over-root.patch"
sha512sums="632f9119dccf0911989e8d09d587a553327c9644fd75e50dd58a19590c0a1ac955de1a50a46c68aa711288c480c0408969c725832e9d2e7631ff8c64b12d0217 mkinitfs-2.7.1.tar.xz
4cbfc985974b427c6136b28777c39ffd6963bb876d902c182853e7af8311265d2516f6638ea7fb818ddba3a0bdd9109080d62efaedb514b8e6cbea09812adefa 0001-init-fix-splash-fifo-and-make-config-file-optional.patch
d6eade69168f1349abffb732f50630dbab9f11d655814076479b2523d2a4920629e6d6e51f86678207b5f80775bd9d672ca08df36c1fd6eb88535abb7b8df911 0002-support-for-tmpfs-overlay-over-root.patch"
|