arch/README.md

53 lines
1.6 KiB
Markdown
Raw Normal View History

2021-04-22 11:49:06 +02:00
# My personalized Arch Linux packages
2021-04-19 21:56:06 +02:00
## Some notes
2021-04-22 21:17:17 +02:00
* https://disconnected.systems/blog/archlinux-meta-packages/
* https://nerdstuff.org/posts/2020/2020-002_meta_packages/
2021-04-22 21:19:29 +02:00
* https://gitlab.com/archi3linux/meta/-/blob/master/PKGBUILD
* https://github.com/alfredopalhares/arch-pkgbuilds
2021-04-22 21:23:34 +02:00
### managing custom packages / managing a remote repository
1) One could use [crema](https://gitlab.com/mipimipi/crema)
2) Or some self made shell scripts: [pkg/de-p1st-repo/README.md](pkg/de-p1st-repo/README.md)
2021-04-20 10:34:01 +02:00
### Package naming
2021-04-19 21:56:06 +02:00
* [package naming](https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_naming)
Package names are prefixed with `de-p1st` as this is one of my
domains ([p1st.de]()) which itself is an abbreviation of
2021-04-23 12:55:23 +02:00
[privacy1st.de]()
2021-04-20 10:32:43 +02:00
2021-04-21 21:49:21 +02:00
### creating config files
```shell
install -Dm644 $src $pkgdir/$dst
```
2021-04-20 10:32:43 +02:00
[Example](https://gitlab.com/archi3linux/meta/-/blob/c08ad57993095a575f2e7453c2fe92de97923276/PKGBUILD#L62)
2021-04-21 21:49:21 +02:00
### changing existing config files
2021-04-22 21:07:47 +02:00
* `holo` from the AUR
* https://github.com/holocm/holo/blob/master/doc/holo-files.8.pod
Example: [pkg/de-p1st-pacman/PKGBUILD](pkg/de-p1st-pacman/PKGBUILD)
2021-04-21 21:49:21 +02:00
2021-04-20 10:32:43 +02:00
### home skeleton
[Example](https://gitlab.com/archi3linux/meta/-/blob/c08ad57993095a575f2e7453c2fe92de97923276/PKGBUILD#L75)
2021-04-21 21:49:21 +02:00
### enabling services
**TODO**: using systemd.preset
2021-04-23 12:55:23 +02:00
* systemd.preset - Service enablement presets
* [man 5 systemd.preset](https://www.systutorials.com/docs/linux/man/5-systemd.preset/)
Example preset file: [archi3linux systemd.preset](https://gitlab.com/archi3linux/meta/-/blob/c08ad57993095a575f2e7453c2fe92de97923276/systemd.preset)
Example pkg: [pkg/de-p1st-networkmanager](pkg/de-p1st-networkmanager)