diff --git a/build-db.sh b/build-db.sh new file mode 100755 index 0000000..be94d80 --- /dev/null +++ b/build-db.sh @@ -0,0 +1,52 @@ +#!/usr/bin/env bash +# +# Script Name: build-db.sh +# GitLab: https://www.gitlab.com/cabooshyy/cbsh-arch-repo +# Contributors: Cameron Miller + +# Set with the flags "-e", "-u","-o pipefail" cause the script to fail +# if certain things happen, which is a good thing. Otherwise, we can +# get hidden bugs that are hard to discover. +set -euo pipefail + +x86_pkgbuild=$(find ../cbsh-arch-pkgbuild/x86_64 -type f -name "*.pkg.tar.zst*") + +for x in ${x86_pkgbuild} +do + mv "${x}" x86_64/ + echo "Moving ${x}" + done + + echo "###########################" + echo "Building the repo database." + echo "###########################" + + ## Arch: x86_64 + cd x86_64 + rm -f cbsh-arch-repo* + + echo "###################################" + echo "Building for architecture 'x86_64'." + echo "###################################" + + ## repo-add + ## -s: signs the packages + ## -n: only add new packages not already in database + ## -R: remove old package files when updating their entry + repo-add -s -n -R cbsh-arch-repo.db.tar.gz *.pkg.tar.zst + + # Removing the symlinks because GitLab can't handle them. + rm cbsh-arch-repo.db + rm cbsh-arch-repo.db.sig + rm cbsh-arch-repo.files + rm cbsh-arch-repo.files.sig + + # Renaming the tar.gz files without the extension. + mv cbsh-arch-repo.db.tar.gz cbsh-arch-repo.db + mv cbsh-arch-repo.db.tar.gz.sig cbsh-arch-repo-db.sig + mv cbsh-arch-repo.files.tar.gz cbsh-arch-repo.files + mv cbsh-arch-repo.files.tar.gz.sig cbsh-arch-repo.files.sig + + echo "#######################################" + echo "Packages in the repo have been updated!" + echo "#######################################" diff --git a/x86_64/alacritty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst b/x86_64/alacritty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst new file mode 100644 index 0000000..bfb06de Binary files /dev/null and b/x86_64/alacritty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst differ diff --git a/x86_64/alacritty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst.sig b/x86_64/alacritty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst.sig new file mode 100644 index 0000000..d7cbe0c Binary files /dev/null and b/x86_64/alacritty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst.sig differ diff --git a/x86_64/cbsh-arch-repo-db.sig b/x86_64/cbsh-arch-repo-db.sig new file mode 100644 index 0000000..fc872a0 Binary files /dev/null and b/x86_64/cbsh-arch-repo-db.sig differ diff --git a/x86_64/cbsh-arch-repo.db b/x86_64/cbsh-arch-repo.db index ede5409..134e103 100644 Binary files a/x86_64/cbsh-arch-repo.db and b/x86_64/cbsh-arch-repo.db differ diff --git a/x86_64/cbsh-arch-repo.files b/x86_64/cbsh-arch-repo.files index 81f062d..36591e0 100644 Binary files a/x86_64/cbsh-arch-repo.files and b/x86_64/cbsh-arch-repo.files differ diff --git a/x86_64/cbsh-arch-repo.files.sig b/x86_64/cbsh-arch-repo.files.sig new file mode 100644 index 0000000..dd0bec4 Binary files /dev/null and b/x86_64/cbsh-arch-repo.files.sig differ diff --git a/x86_64/dmenu-cbsh-5.0.r10.f7d8bfc-1-x86_64.pkg.tar.zst b/x86_64/dmenu-cbsh-5.0.r10.f7d8bfc-1-x86_64.pkg.tar.zst new file mode 100644 index 0000000..d8d7995 Binary files /dev/null and b/x86_64/dmenu-cbsh-5.0.r10.f7d8bfc-1-x86_64.pkg.tar.zst differ diff --git a/x86_64/dmenu-cbsh-5.0.r10.f7d8bfc-1-x86_64.pkg.tar.zst.sig b/x86_64/dmenu-cbsh-5.0.r10.f7d8bfc-1-x86_64.pkg.tar.zst.sig new file mode 100644 index 0000000..5af0646 Binary files /dev/null and b/x86_64/dmenu-cbsh-5.0.r10.f7d8bfc-1-x86_64.pkg.tar.zst.sig differ diff --git a/x86_64/dmenu-cbsh-5.0.r21.40dc877-1-x86_64.pkg.tar.zst b/x86_64/dmenu-cbsh-5.0.r21.40dc877-1-x86_64.pkg.tar.zst deleted file mode 100644 index 24b33be..0000000 Binary files a/x86_64/dmenu-cbsh-5.0.r21.40dc877-1-x86_64.pkg.tar.zst and /dev/null differ diff --git a/x86_64/kitty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst b/x86_64/kitty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst new file mode 100644 index 0000000..788616f Binary files /dev/null and b/x86_64/kitty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst differ diff --git a/x86_64/kitty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst.sig b/x86_64/kitty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst.sig new file mode 100644 index 0000000..5149474 Binary files /dev/null and b/x86_64/kitty-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst.sig differ diff --git a/x86_64/qtile-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst b/x86_64/qtile-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst new file mode 100644 index 0000000..1038347 Binary files /dev/null and b/x86_64/qtile-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst differ diff --git a/x86_64/qtile-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst.sig b/x86_64/qtile-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst.sig new file mode 100644 index 0000000..28ca79b Binary files /dev/null and b/x86_64/qtile-cbsh-1.0.r10.6a35a1c-1-x86_64.pkg.tar.zst.sig differ diff --git a/x86_64/st-cbsh-0.8.4.r10.f7d8bfc-1-x86_64.pkg.tar.zst b/x86_64/st-cbsh-0.8.4.r10.f7d8bfc-1-x86_64.pkg.tar.zst new file mode 100644 index 0000000..7517769 Binary files /dev/null and b/x86_64/st-cbsh-0.8.4.r10.f7d8bfc-1-x86_64.pkg.tar.zst differ diff --git a/x86_64/st-cbsh-0.8.4.r10.f7d8bfc-1-x86_64.pkg.tar.zst.sig b/x86_64/st-cbsh-0.8.4.r10.f7d8bfc-1-x86_64.pkg.tar.zst.sig new file mode 100644 index 0000000..ddaeba9 Binary files /dev/null and b/x86_64/st-cbsh-0.8.4.r10.f7d8bfc-1-x86_64.pkg.tar.zst.sig differ diff --git a/x86_64/st-cbsh-5.0.r2.033881d-1-x86_64.pkg.tar.zst b/x86_64/st-cbsh-5.0.r2.033881d-1-x86_64.pkg.tar.zst deleted file mode 100644 index 9f5d1f3..0000000 Binary files a/x86_64/st-cbsh-5.0.r2.033881d-1-x86_64.pkg.tar.zst and /dev/null differ