1 Commits

Author SHA1 Message Date
Nathan
e9c57ebc0e fix 2025-10-15 01:22:02 -05:00
26 changed files with 5 additions and 45 deletions

View File

@@ -1,14 +0,0 @@
#!/bin/bash
# rm-escaped-newlines.sh
# removes escaped newlines for easier patching.
if [ "$#" -eq 0 ]; then
echo "Usage: $0 <package repo>"
exit 1
else
for arg in "$@"
do
sed ':a;N;$!ba;s/[ \t]*\\\n[ \t]*/ /g' -i "${arg}/PKGBUILD"
done
fi

View File

@@ -1,2 +1 @@
REMOVE_VAR=rm -r "${pkgdir}"/archlinux-keyring-* "${pkgdir}"/timers.target.wants
PACKAGE_BLOCK=package_archlinux-keyring

View File

@@ -1 +0,0 @@
../_common/rm-systemd.pl

View File

@@ -1 +0,0 @@
../_common/rm-escaped-newlines.sh

View File

@@ -1 +0,0 @@
../_common/d-systemd.sh

View File

@@ -1 +0,0 @@
../_common/d-systemd.sh

View File

@@ -1 +0,0 @@
../_common/replace-configure-command.sh

View File

@@ -1,2 +0,0 @@
CONFIG_FIND=configure
CONFIG_REPLACE=configure --with-systemdsystemunitdir=no

View File

@@ -1 +0,0 @@
../_common/rm-systemd.pl

View File

@@ -1 +0,0 @@
../_common/rm-systemd.pl

View File

@@ -1 +0,0 @@
../_common/rm-service.sh

View File

@@ -1 +0,0 @@
../_common/updpkgsums.sh

View File

@@ -1 +0,0 @@
../_common/updpkgsums.sh

View File

@@ -1 +0,0 @@
../_common/rm-service.sh

View File

@@ -1 +0,0 @@
../_common/systemd-libs-to-libelogind.sh

View File

@@ -1,5 +0,0 @@
#!/bin/sh
for i in $@; do
sed -e 's|{,.sig}||' \
-i "$i"/PKGBUILD
done

View File

@@ -1 +0,0 @@
../_common/updpkgsums.sh

View File

@@ -1 +0,0 @@
../_common/systemd-libs-to-libelogind.sh

View File

@@ -1 +0,0 @@
../_common/rm-service.sh

View File

@@ -1 +0,0 @@
../_common/updpkgsums.sh

View File

@@ -1 +0,0 @@
../_common/d-systemd.sh

View File

@@ -1 +0,0 @@
../_common/add-configure-options.pl

View File

@@ -1,2 +0,0 @@
OPTION_VAR=configure_options
CONFIG_OPTIONS=--without-systemd

View File

@@ -7,6 +7,8 @@ for i in $@ ; do
-e '/systemd/d' \
-e '/install=pulseaudio.install/d' \
-e '/iautospawn/s,no,yes,' -i $i/PKGBUILD
sed -e '/elogind=enabled/a\ -D systemd=disabled' \
-i "$i/PKGBUILD"
done

2
patches/reflector/02-artix-mirrors.sh Executable file → Normal file
View File

@@ -6,6 +6,6 @@ if [ "$#" -eq 0 ]; then
else
for arg in "$@"
do
sed -E 's|^(\s+)(python -m build)|\1sed -e "s\|https://archlinux.org\|https://packages.artixlinux.org\|g" \\\n\1 -e "s\|Arch Linux\|Artix Linux\|g" \\\n\1 -e "s\|extra/os/x86_64/extra.db\|world/os/x86_64/world.db\|g" \\\n\1 -i Reflector.py\n\1\2|g' -i "${arg}/PKGBUILD"
sed -E 's|^(\s+)(python -m build)|\1sed -e "s\|https://archlinux.org\|https://packages.artixlinux.org\|g" \\\n\1 -e "s\|Arch Linux\|Artix Linux\|g" \\\n\1 -i Reflector.py\n\1\2|g' -i "${arg}/PKGBUILD"
done
fi

View File

@@ -6,8 +6,8 @@ if [ "$#" -eq 0 ]; then
else
for arg in "$@"
do
sed -e 's|Arch Pkg|Artix Pkg|' \
-e 's|archlinux.org|packages.artixlinux.org|' \
sed -e 's|Arch Pkg|Artix Forum|' \
-e 's|https://gitlab.archlinux.org/archlinux/packaging/packages/|https://forum.artixlinux.org/|' \
-i "${arg}/xfce4-smartbookmark-plugin-archlinux.patch"
done
fi