Skip to content

Commit

Permalink
update example package docs
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Jan 21, 2024
1 parent 1b41503 commit 30b6358
Showing 1 changed file with 25 additions and 22 deletions.
47 changes: 25 additions & 22 deletions lpm-builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,29 +90,29 @@ Begin by preparing the necessary files for building [sbs](https://github.com/ozk
mkdir sbs_build_template
cd sbs_build_template

mkdir stage0
touch stage0/init
touch stage0/build
touch stage0/install_files
mkdir -p amd64/stage0
touch amd64/stage0/init
touch amd64/stage0/build
touch amd64/stage0/install_files

touch template
```

Copy the following content into `stage0/init`
Copy the following content into `amd64/stage0/init`

```sh
curl -L https://github.com/ozkanonur/sbs/archive/refs/tags/v1.0.0.tar.gz > sbs.tar.gz
validate_checksum "sbs.tar.gz" "aa4da5b2315046fc2059599b19c530f08bb870e63ed17111a55991b1ae911367"
tar -xvzf sbs.tar.gz --strip 1 -C $SRC
```

Copy the following content into `stage0/build`
Copy the following content into `amd64/stage0/build`

```sh
make sbs
```

Copy the following content into `stage0/install_files`
Copy the following content into `amd64/stage0/install_files`

```sh
install_to_package sbs /usr/bin/sbs
Expand All @@ -127,27 +127,30 @@ Copy the following content into `template`
"maintainer": "Lpm Core Maintainer <contact@onurozkan.dev>",
"source_repository": "https://github.com/ozkanonur/sbs",
"homepage": "https://github.com/ozkanonur/sbs",
"arch": "amd64",
"kind": "util",
"file_checksum_algo": "sha256",
"tags": [
"x11",
"background-setter"
],
"version": {
"readable_format": "1.0.0",
"major": 1,
"minor": 0,
"patch": 0
},
"license": "MIT",
"mandatory_dependencies": {
"build": [],
"runtime": []
},
"suggested_dependencies": {
"build": [],
"runtime": []
"builds": {
"amd64": {
"file_checksum_algo": "sha256",
"version": {
"readable_format": "1.0.0",
"major": 1,
"minor": 0,
"patch": 0
},
"mandatory_dependencies": {
"build": [],
"runtime": []
},
"suggested_dependencies": {
"build": [],
"runtime": []
}
}
}
}
```
Expand Down

0 comments on commit 30b6358

Please sign in to comment.