mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
update readme; update build scripts; add gnupg to base-efi
This commit is contained in:
parent
8895c1c745
commit
e007b1c6db
@ -48,7 +48,9 @@ Example:
|
||||
|
||||
### Home skeleton
|
||||
|
||||
Example: [archi3linux PKGBUILD](https://gitlab.com/archi3linux/meta/-/blob/c08ad57993095a575f2e7453c2fe92de97923276/PKGBUILD#L75)
|
||||
Files from /etc/skel are copied to /home/$USER when new users are created.
|
||||
|
||||
Example: [pkg/de-p1st-gnupg/PKGBUILD](pkg/de-p1st-gnupg/PKGBUILD)
|
||||
|
||||
### enabling services
|
||||
|
||||
|
17
build-all.sh
17
build-all.sh
@ -1,17 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# build all packages
|
||||
for PKG in pkg/*; do
|
||||
# check if PKGBUILD exists, otherwise skip
|
||||
[ -f "${PKG}/PKGBUILD" ] || { echo "${PKG} does not contain a PKGBUILD file - skipping this directory!"; continue; }
|
||||
|
||||
cd "${PKG}" || exit
|
||||
|
||||
aur build -c || exit
|
||||
# makepkg -Ccsr || exit
|
||||
|
||||
cd ../.. || exit
|
||||
done
|
||||
|
||||
# push remote repository
|
||||
arch-repo-push-new || exit
|
49
build-pkg.sh
Executable file
49
build-pkg.sh
Executable file
@ -0,0 +1,49 @@
|
||||
#!/bin/bash
|
||||
|
||||
function build-pkg() {
|
||||
# $1: package-name
|
||||
local PKG
|
||||
PKG="$1"
|
||||
|
||||
# check if PKGBUILD exists, otherwise skip
|
||||
[ -f "pkg/${PKG}/PKGBUILD" ] || {
|
||||
echo "Package ${PKG} does not contain a PKGBUILD file - skipping it!"; return 0;
|
||||
}
|
||||
|
||||
cd "pkg/${PKG}" || exit
|
||||
|
||||
aur build -c || exit
|
||||
# makepkg -Ccsr || exit
|
||||
|
||||
cd ../.. || exit
|
||||
}
|
||||
|
||||
function build-all() {
|
||||
for PKG in pkg/*; do
|
||||
build-pkg "$(basename "${PKG}")"
|
||||
done
|
||||
}
|
||||
|
||||
function main() {
|
||||
# usage:
|
||||
# either zero arguments to build all packages
|
||||
# or the names of the packages to build as arguments
|
||||
|
||||
|
||||
if [ "$#" -gt "0" ]; then
|
||||
# at least one argument is given
|
||||
|
||||
for PKG in "$@"; do
|
||||
build-pkg "$PKG" || return $?
|
||||
done
|
||||
|
||||
else
|
||||
# no arguments given
|
||||
build-all || return $?
|
||||
fi
|
||||
|
||||
# push remote repository
|
||||
arch-repo-push-new || exit
|
||||
}
|
||||
|
||||
main "$@"
|
@ -2,8 +2,8 @@
|
||||
_pkgname=base-efi
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.3
|
||||
pkgrel=2
|
||||
pkgver=0.0.4
|
||||
pkgrel=1
|
||||
pkgdesc="Arch Linux base packages"
|
||||
arch=('any')
|
||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||
@ -25,6 +25,9 @@ depends+=('zsh' 'grml-zsh-config')
|
||||
depends+=('de-p1st-keyboard')
|
||||
# networking
|
||||
depends+=('de-p1st-networkmanager' 'de-p1st-dns')
|
||||
# gnupg
|
||||
depends+=('de-p1st-gnupg')
|
||||
|
||||
|
||||
# fonts
|
||||
depends+=('noto-fonts' 'ttf-material-design-icons-git' 'ttf-unifont')
|
||||
|
Loading…
Reference in New Issue
Block a user