chore: clean
This commit is contained in:
parent
a69dffacf5
commit
1fa323b13b
@ -3,24 +3,18 @@ pipeline:
|
||||
image: archlinux:base-devel
|
||||
pull: true
|
||||
volumes:
|
||||
- /mnt/archlinux/nyyu:/repo
|
||||
- /mnt/archlinux/nyyu:/repo
|
||||
commands:
|
||||
- cp -f conf/{makepkg,pacman}.conf /etc/
|
||||
- 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
|
||||
- sed -i 's/#PACKAGER=".*"/PACKAGER="nyyu <mail@nyyu.dev>"/' /etc/makepkg.conf
|
||||
- pacman-key --init
|
||||
- pacman -Syu git jq pacman-contrib pandoc-bin unzip --noconfirm
|
||||
- useradd build -m
|
||||
- "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
|
||||
- chown -R build:build .
|
||||
- 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'
|
||||
- cp -f conf/{makepkg,pacman}.conf /etc/
|
||||
- cat conf/pacman-conf.d-noextract.conf >> /etc/pacman.conf
|
||||
- pacman-key --init
|
||||
- pacman -Syu git jq pacman-contrib pandoc-bin unzip --noconfirm
|
||||
- useradd build -m
|
||||
- "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
|
||||
- chown -R build:build .
|
||||
- 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]
|
||||
when:
|
||||
branch: master
|
||||
event:
|
||||
- push
|
||||
- cron
|
||||
- tag
|
||||
- manual
|
||||
event: [push, cron, tag, manual]
|
||||
|
3
aur.txt
3
aur.txt
@ -31,13 +31,10 @@ jellyfin-ffmpeg5-bin
|
||||
kodi-standalone-service
|
||||
ksmbd-dkms
|
||||
ksmbd-tools
|
||||
megatools
|
||||
memtest86-efi
|
||||
molotov
|
||||
native-image-jdk17-bin
|
||||
native-image-jdk19-bin
|
||||
ncurses5-compat-libs
|
||||
nerd-fonts-hack
|
||||
nginx-mod-fancyindex
|
||||
nordvpn-bin
|
||||
oh-my-zsh-git
|
||||
|
2
build.sh
2
build.sh
@ -64,7 +64,7 @@ for d in */; do
|
||||
done
|
||||
|
||||
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
|
||||
build false
|
||||
cd ..
|
||||
|
@ -128,7 +128,7 @@ DBGSRCDIR="/usr/src/debug"
|
||||
#-- Log files: specify a fixed directory where all log files will be placed
|
||||
#LOGDEST=/home/makepkglogs
|
||||
#-- 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
|
||||
#GPGKEY=""
|
||||
|
||||
|
@ -1,9 +1,12 @@
|
||||
[options]
|
||||
NoExtract = usr/share/help/* !usr/share/help/en*
|
||||
NoExtract = usr/share/gtk-doc/html/* usr/share/doc/*
|
||||
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 = !usr/share/*locales/en_?? !usr/share/*locales/i18n* !usr/share/*locales/iso*
|
||||
NoExtract = !usr/share/*locales/trans*
|
||||
NoExtract = usr/share/man/* usr/share/info/*
|
||||
NoExtract = usr/share/vim/vim*/lang/*
|
||||
NoExtract = usr/share/help/* !usr/share/help/en* !usr/share/help/C/*
|
||||
NoExtract = usr/share/gtk-doc/html/* usr/share/doc/*
|
||||
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 = !usr/share/*locales/en_?? !usr/share/*locales/i18n* !usr/share/*locales/iso*
|
||||
NoExtract = !usr/share/*locales/trans*
|
||||
NoExtract = !usr/share/X11/locale/C/*
|
||||
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/*
|
||||
|
@ -69,6 +69,10 @@ LocalFileSigLevel = Optional
|
||||
# repo name header and Include lines. You can add preferred servers immediately
|
||||
# after the header, and they will be used before the default mirrors.
|
||||
|
||||
[nyyu]
|
||||
Server = https://archlinux.nyyu.dev/nyyu
|
||||
SigLevel = Never
|
||||
|
||||
#[core-testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user