mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
update README.md
This commit is contained in:
parent
3527fd610f
commit
dd3a64de87
22
README.md
22
README.md
@ -2,17 +2,14 @@
|
|||||||
|
|
||||||
## Submodules - Initialization and Updating
|
## Submodules - Initialization and Updating
|
||||||
|
|
||||||
There are several AUR packages added as submodules inside [pkg](pkg).
|
There are several [AUR](https://aur.archlinux.org/) packages added as submodules inside [pkg](pkg).
|
||||||
See [build-pkg/pkglist-AUR.txt](build-pkg/pkglist-AUR.txt) for a full list.
|
See [build-pkg/pkglist-AUR.txt](build-pkg/pkglist-AUR.txt) for a full list.
|
||||||
|
|
||||||
They were added in the following manner:
|
They were added in the following manner:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
AUR=(xorg-meta riseup-vpn nordic-kde-git ...)
|
AUR_PKG=xorg-meta
|
||||||
|
git submodule add "https://aur.archlinux.org/${AUR_PKG}.git" pkg/"${AUR_PKG}"
|
||||||
for pkg in "${AUR[@]}"; do
|
|
||||||
git submodule add "https://aur.archlinux.org/${pkg}.git" pkg/"${pkg}"
|
|
||||||
done
|
|
||||||
```
|
```
|
||||||
|
|
||||||
To initialize the submodules, run
|
To initialize the submodules, run
|
||||||
@ -25,10 +22,9 @@ To update all submodules and add those who received an update to
|
|||||||
[build-pkg/pkglist.tmp](build-pkg/pkglist.tmp), run
|
[build-pkg/pkglist.tmp](build-pkg/pkglist.tmp), run
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git submodule foreach 'if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'
|
./git-pull
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Build packages from source
|
## Build packages from source
|
||||||
|
|
||||||
Fork this repository.
|
Fork this repository.
|
||||||
@ -44,8 +40,7 @@ Then and adjust the following files:
|
|||||||
Build [de-p1st-repo](pkg/de-p1st-repo):
|
Build [de-p1st-repo](pkg/de-p1st-repo):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd build-pkg
|
sudo docker-compose -f build-pkg/docker-compose.yml run --rm makepkg de-p1st-repo
|
||||||
sudo docker-compose run --rm makepkg de-p1st-repo
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Install it on your build-machine and your mirror-server:
|
Install it on your build-machine and your mirror-server:
|
||||||
@ -60,9 +55,14 @@ sudo pacman -U out/de-p1st-repo*.pkg.tar.*
|
|||||||
Then you can start building all packages and adding them to your mirror-server:
|
Then you can start building all packages and adding them to your mirror-server:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
./build-all.sh
|
./build-pkg/build-all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Build outdated AUR packages
|
||||||
|
|
||||||
|
```shell
|
||||||
|
./build-pkg/pull-and-build-outdated
|
||||||
|
```
|
||||||
|
|
||||||
## Install Arch Linux
|
## Install Arch Linux
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
echo "Please consider using ./build-all.sh instead. This script is outdated."
|
echo "Please consider using ./build-all.sh instead. This script is outdated."
|
||||||
|
|
||||||
|
|
||||||
function build-with-aurutils() {
|
function build-with-aurutils() {
|
||||||
aur build -c
|
aur build -c
|
||||||
}
|
}
|
||||||
|
5
build-pkg/pull-and-build-outdated
Executable file
5
build-pkg/pull-and-build-outdated
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
../git-pull || exit $?
|
||||||
|
./build-all pkglist.tmp || exit $?
|
||||||
|
rm pkglist.tmp
|
4
git-pull
Executable file
4
git-pull
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
git pull || exit $?
|
||||||
|
git submodule foreach 'if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'
|
@ -1 +1 @@
|
|||||||
Subproject commit 88b7549c433a7a2fbc9c6a3a17387f76e0e7bf98
|
Subproject commit cde6f0683a9af9011f68e232f6f1cadf97ff8897
|
@ -1 +1 @@
|
|||||||
Subproject commit 8ba41d7f37c4eaf756da834ef8560b07f36020f9
|
Subproject commit 00dce7e1c33439e78bbdc751efe0dfcfacd8570d
|
@ -1 +1 @@
|
|||||||
Subproject commit 2a3babdd387bc3c187b21718428859134fc03e70
|
Subproject commit e092ee7eb5e8cf496256c70177bd6c07f2a059c0
|
@ -1 +1 @@
|
|||||||
Subproject commit 2a5cca3011d570a631271735d24d8c3939fa00b1
|
Subproject commit 665a46d9cebf40d563b9cf090a42f2d0083a86cd
|
@ -1 +1 @@
|
|||||||
Subproject commit 4d6600b719ff69ca4715445853f37cd5a2a9d859
|
Subproject commit db2e1e91fca61cd3258c45bfa38e361624a76a94
|
@ -1 +1 @@
|
|||||||
Subproject commit 88d820ceb7b8029761842ef03000fa76a704f5c8
|
Subproject commit 5d064a8d97669174898f21764bd738285fd340b2
|
2
pkg/zoom
2
pkg/zoom
@ -1 +1 @@
|
|||||||
Subproject commit 3779bcb7ad101ed8b9bebff0f14b4500ab17443a
|
Subproject commit 760c9b944464f4a8d4a9d013650a9ad24f95cf73
|
Loading…
Reference in New Issue
Block a user