chore: clean
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2023-05-29 16:14:46 +02:00
parent a69dffacf5
commit 1fa323b13b
6 changed files with 28 additions and 30 deletions

View File

@ -3,24 +3,18 @@ pipeline:
image: archlinux:base-devel image: archlinux:base-devel
pull: true pull: true
volumes: volumes:
- /mnt/archlinux/nyyu:/repo - /mnt/archlinux/nyyu:/repo
commands: commands:
- cp -f conf/{makepkg,pacman}.conf /etc/ - cp -f conf/{makepkg,pacman}.conf /etc/
- cat conf/pacman-conf.d-noextract.conf >> /etc/pacman.conf - cat conf/pacman-conf.d-noextract.conf >> /etc/pacman.conf
- sed -i 's/# REPOSITORIES/[nyyu]\nServer = https:\\/\\/archlinux.nyyu.dev\\/nyyu\nSigLevel = Never/' /etc/pacman.conf - pacman-key --init
- sed -i 's/#PACKAGER=".*"/PACKAGER="nyyu <mail@nyyu.dev>"/' /etc/makepkg.conf - pacman -Syu git jq pacman-contrib pandoc-bin unzip --noconfirm
- pacman-key --init - useradd build -m
- pacman -Syu git jq pacman-contrib pandoc-bin unzip --noconfirm - "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- useradd build -m - chown -R build:build .
- "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" - sudo -u build --preserve-env=PGP_KEY,PGP_PWD,PGP_ID sh -c 'mkdir ~/.gnupg && echo -e "default-cache-ttl 3600\nallow-preset-passphrase" > ~/.gnupg/gpg-agent.conf && echo "$PGP_KEY" | gpg --import --no-tty --batch --yes && echo "$PGP_PWD" | /usr/lib/gnupg/gpg-preset-passphrase --preset $PGP_ID'
- chown -R build:build . - sudo -u build --preserve-env=CI_REPO_REMOTE,CI_COMMIT_BRANCH,CI_PREV_COMMIT_SHA,GIT_PASSWORD sh -c './build.sh'
- sudo -u build --preserve-env=PGP_KEY,PGP_PWD,PGP_ID sh -c 'mkdir ~/.gnupg && echo -e "default-cache-ttl 3600\nallow-preset-passphrase" > ~/.gnupg/gpg-agent.conf && echo "$PGP_KEY" | gpg --import --no-tty --batch --yes && echo "$PGP_PWD" | /usr/lib/gnupg/gpg-preset-passphrase --preset $PGP_ID'
- sudo -u build --preserve-env=CI_REPO_REMOTE,CI_COMMIT_BRANCH,CI_PREV_COMMIT_SHA,GIT_PASSWORD sh -c './build.sh'
secrets: [pgp_id, pgp_key, pgp_pwd, git_password] secrets: [pgp_id, pgp_key, pgp_pwd, git_password]
when: when:
branch: master branch: master
event: event: [push, cron, tag, manual]
- push
- cron
- tag
- manual

View File

@ -31,13 +31,10 @@ jellyfin-ffmpeg5-bin
kodi-standalone-service kodi-standalone-service
ksmbd-dkms ksmbd-dkms
ksmbd-tools ksmbd-tools
megatools
memtest86-efi memtest86-efi
molotov
native-image-jdk17-bin native-image-jdk17-bin
native-image-jdk19-bin native-image-jdk19-bin
ncurses5-compat-libs ncurses5-compat-libs
nerd-fonts-hack
nginx-mod-fancyindex nginx-mod-fancyindex
nordvpn-bin nordvpn-bin
oh-my-zsh-git oh-my-zsh-git

View File

@ -64,7 +64,7 @@ for d in */; do
done done
while read -r p; do while read -r p; do
git clone https://aur.archlinux.org/"${p}".git || continue git clone https://aur.archlinux.org/"${p}".git --depth 1 || echo "ERR: Package ${p} not found in AUR"
cd "${p}" || continue cd "${p}" || continue
build false build false
cd .. cd ..

View File

@ -128,7 +128,7 @@ DBGSRCDIR="/usr/src/debug"
#-- Log files: specify a fixed directory where all log files will be placed #-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs #LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages #-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>" PACKAGER="nyyu <mail@nyyu.dev>"
#-- Specify a key to use for package signing #-- Specify a key to use for package signing
#GPGKEY="" #GPGKEY=""

View File

@ -1,9 +1,12 @@
[options] [options]
NoExtract = usr/share/help/* !usr/share/help/en* NoExtract = usr/share/help/* !usr/share/help/en* !usr/share/help/C/*
NoExtract = usr/share/gtk-doc/html/* usr/share/doc/* NoExtract = usr/share/gtk-doc/html/* usr/share/doc/*
NoExtract = usr/share/locale/* usr/share/X11/locale/* usr/share/i18n/* NoExtract = usr/share/locale/* usr/share/X11/locale/* usr/share/i18n/*
NoExtract = !*locale*/en*/* !usr/share/i18n/charmaps/UTF-8.gz !usr/share/*locale*/locale.* NoExtract = !*locale*/en*/* !usr/share/i18n/charmaps/UTF-8.gz !usr/share/*locale*/locale.*
NoExtract = !usr/share/*locales/en_?? !usr/share/*locales/i18n* !usr/share/*locales/iso* NoExtract = !usr/share/*locales/en_?? !usr/share/*locales/i18n* !usr/share/*locales/iso*
NoExtract = !usr/share/*locales/trans* NoExtract = !usr/share/*locales/trans*
NoExtract = usr/share/man/* usr/share/info/* NoExtract = !usr/share/X11/locale/C/*
NoExtract = usr/share/vim/vim*/lang/* NoExtract = !usr/share/X11/locale/compose.dir !usr/share/X11/locale/iso8859-1/*
NoExtract = !usr/share/*locales/C !usr/share/*locales/POSIX !usr/share/i18n/charmaps/ANSI_X3.4-1968.gz
NoExtract = usr/share/man/* usr/share/info/*
NoExtract = usr/share/vim/vim*/lang/*

View File

@ -69,6 +69,10 @@ LocalFileSigLevel = Optional
# repo name header and Include lines. You can add preferred servers immediately # repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors. # after the header, and they will be used before the default mirrors.
[nyyu]
Server = https://archlinux.nyyu.dev/nyyu
SigLevel = Never
#[core-testing] #[core-testing]
#Include = /etc/pacman.d/mirrorlist #Include = /etc/pacman.d/mirrorlist