added fs info to metadata

This commit is contained in:
Ella-0 2020-12-27 16:34:08 +00:00
parent 8541658e8e
commit cbbe7641e9
6 changed files with 167 additions and 0 deletions

22
example.build.sh Normal file
View file

@ -0,0 +1,22 @@
fetch() {
# in ./src
# for fetching and patching source files
}
build() {
# in ./src
# configure and build
./configure --prefix=/
# make is bmake
make
}
package() {
# in ./src
# make is bmake
make install DESTDIR=$pkgdir
# samurai is the default ninja implementation
DESTDIR=$pkgdir samu install
# for rust programs we just do this
install -Dm755 target/release/$pkgname $pkgdir/bin
}