add make_ext4fs
This commit is contained in:
parent
223f33fb05
commit
7a53d74d6b
1 changed files with 24 additions and 0 deletions
24
linux/make_ext4fs/build.sh
Normal file
24
linux/make_ext4fs/build.sh
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
pkgname=make_ext4fs
|
||||||
|
pkgver=main
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl -L "https://github.com/iglunix/make_ext4fs/archive/refs/heads/main.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
install -d $pkgdir/sbin
|
||||||
|
install -Dm755 ./make_ext4fs $pkgdir/sbin/mkfs.ext4
|
||||||
|
}
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat LICENSE
|
||||||
|
# cat COPYING
|
||||||
|
}
|
Loading…
Reference in a new issue