Initial Commit

This commit is contained in:
quitaxd 2024-04-09 12:39:16 +03:00
commit c7036df242
14 changed files with 54 additions and 0 deletions

21
README.org Normal file
View File

@ -0,0 +1,21 @@
#+title: qarch
#+author: quitaxd
* qarch
An Arch Linux repo for everyone!
** Installation
Add these lines into your pacman.conf
#+BEGIN_SRC
[qarch]
SigLevel = Optional TrustAll
Server = https://git.quitaxd.online/quitaxd/qarch/raw/branch/master/$arch
#+END_SRC
** Q&A
*** Where is pacman.conf
Just go to ~/etc/pacman.conf~
*** Why?
Because why not?

Binary file not shown.

33
scripts/updaterepo.sh Executable file
View File

@ -0,0 +1,33 @@
#!/usr/bin/env bash
PKGLIST="yay-bin paru-bin ventoy-bin nvm vesktop-bin"
reponame="qarch"
repodir="$HOME/qarch/x86_64"
customdir="$HOME/qarch/custom"
rm $repodir/*
for pkg in $PKGLIST;
do
olddir="$PWD"
if [ -d "/tmp/$pkg" ]; then
rm -rf /tmp/$pkg
fi
git clone https://aur.archlinux.org/$pkg.git /tmp/$pkg
cd /tmp/$pkg
makepkg -s
cp $pkg*.pkg.tar.zst $repodir
done
cd $repodir
cp $customdir/* $repodir
repo-add $reponame.db.tar.gz *.pkg.tar.zst
rm $reponame.{db,files}
mv $reponame.db.tar.gz $reponame.db
mv $reponame.files.tar.gz $reponame.files
cd $repodir/..
git add .
git commit -m "Update $reponame Repo!"
git push
cd $olddir

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
x86_64/qarch.db Normal file

Binary file not shown.

BIN
x86_64/qarch.files Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.