smlinux/base/initfs/initfs.SMBuild

31 lines
634 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=initfs
version=0.1
build=1sml
homepage="http://git.pktsurf.in/smlinux/tree/base/initfs"
download="http://git.pktsurf.in/smlinux/tree/base/initfs"
desc="initfs - initial file system hierarchy creator"
requires="musl"
disablepkgsymlinks=1
prepbuilddir() {
arch=noarch
mkandenterbuilddir
}
build() {
cd $pkg
tar xf $srcdir/$app.tar.lz
mv initfs/* .
rmdir initfs
chmod 1777 tmp
chmod 0700 root
mkfinalpkg
}
sha512sums="
85da0195b5e58c2b01f6ab91ed7a15ebff783325b08c5ed10722e6576974c1cedf55767eb30ccf58f41fc6c88171810ee63a0d7c7d09eb925c0572802d7754de initfs.tar.lz
"