added fs info to metadata
This commit is contained in:
parent
8541658e8e
commit
cbbe7641e9
6 changed files with 167 additions and 0 deletions
22
example.build.sh
Normal file
22
example.build.sh
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue