welcome to shinyrepo
currently for testing, might change
enable the repo on your archlinux:
in /etc/pacman.conf add this
[shinyrepo]
Server = https://repo.shiny.space/any
SigLevel = TrustAll
Note: the "any" stands for architecture, our testing package works on any architecture but we might change this to x86-64 later
Note that "TrustAll" disables package signing. this is for testing purposes and will change later (once i figured out the right way to sign my packages and publish the pubkey)
How to make your own packages:
first, make a PKGBUILD as listed in the archwiki. our first one is here:
pkgname=test-package
pkgver=1.0
pkgrel=1
pkgdesc="A test package that depends on nano"
arch=('any')
# dependencies specified here are required for building AND running
depends=()
license=('custom')
package() {
# dependencies defined here are only required when running
depends=('nano')
# Create a dummy directory structure to avoid "empty package" warnings
mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
echo "This package installs nano via dependency." > "${pkgdir}/usr/share/doc/${pkgname}/README"
}
then run makepgk in that directory, it should output a package such as this:
test-package-1.0-1-any.pkg.tar.zst
upload this to the repo server, and there run # repo-add /srv/http/repo.shiny.space/any/shinyrepo.db.tar.gz test-package-1.0-1-any.pkg.tar.zst
that should be it, now your machine with pacman -Sy should update the repo database and you'll be able to install the test-package normally with pacman