2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

docs: update

This commit is contained in:
Dylan Araps 2019-05-09 11:52:34 +03:00
parent c21262469b
commit f76fc18d9b
3 changed files with 14 additions and 5 deletions

View File

@ -19,7 +19,6 @@ zlib/ # Package name.
# Optional files.
├─ post_install # The script to run after install.
├─ release # Force a package update for the same version.
```
@ -43,6 +42,7 @@ done < depends
* [`manifest`](#manifest)
* [`sources`](#sources)
* [`depends`](#depends)
* [`version`](#version)
<!-- vim-markdown-toc -->
@ -100,3 +100,11 @@ zlib
binutils
openssl
```
## `version`
The `version` file contains the package's version as well as its release number. The format of this file is `version release`. The `release` portion allows a package upgrade without the modification of the version number.
```
1.2.11 1
```

7
puke
View File

@ -23,8 +23,9 @@ pkg_info() {
[ -f depends ] || die "Depends file not found."
[ -f sources ] || die "Sources file not found."
while read -r line; do version=$line; done < version
read -r version release < version
name=$1
pkg=$name-$version-$release
}
pkg_depends() {
@ -71,7 +72,7 @@ pkg_extract() {
}
pkg_build() {
log "Building $name-$version"
log "Building $pkg"
cd "$build_dir"
set -e
@ -79,7 +80,7 @@ pkg_build() {
set +e
cd -
log "Sucessfully built $name-$version"
log "Sucessfully built $pkg"
}
pkg_manifest() {

View File

@ -1 +1 @@
1.2.11
1.2.11 1