Compare commits

..

46 Commits

Author SHA1 Message Date
Sebastiaan de Schaetzen (automated)
190b1b4af5 Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 7s
Workflows / Build and Push (push) Successful in 1m57s
2025-09-06 02:03:18 +02:00
Sebastiaan de Schaetzen (automated)
b9ab68d70d Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 9s
Workflows / Build and Push (push) Successful in 1m59s
2025-08-25 02:02:42 +02:00
Sebastiaan de Schaetzen (automated)
02f79198b8 Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 19s
Workflows / Build and Push (push) Successful in 1m37s
2025-08-08 17:26:09 +02:00
Sebastiaan de Schaetzen (automated)
cc106c0def Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 7s
Workflows / Build and Push (push) Successful in 1m28s
2025-07-16 02:02:41 +02:00
Sebastiaan de Schaetzen (automated)
822d1669c2 Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 5s
Workflows / Build and Push (push) Successful in 1m25s
2025-07-09 02:01:36 +02:00
Sebastiaan de Schaetzen (automated)
533ab053ca Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 8s
Workflows / Build and Push (push) Successful in 2m41s
2025-06-18 02:01:26 +02:00
Sebastiaan de Schaetzen (automated)
5e70d392b8 Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 8s
Workflows / Build and Push (push) Successful in 2m7s
2025-06-07 02:02:19 +02:00
Sebastiaan de Schaetzen (automated)
0eac60410d Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 25s
Workflows / Build and Push (push) Successful in 1m24s
2025-06-06 02:02:41 +02:00
Sebastiaan de Schaetzen (automated)
1dffa77474 Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 5s
Workflows / Build and Push (push) Successful in 1m18s
2025-05-17 02:01:36 +02:00
Sebastiaan de Schaetzen (automated)
1119682d22 Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 9s
Workflows / Build and Push (push) Successful in 1m10s
2025-05-15 02:01:39 +02:00
Sebastiaan de Schaetzen (automated)
d3194503d6 Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 13s
Workflows / Build and Push (push) Successful in 1m33s
2025-05-14 02:01:12 +02:00
Sebastiaan de Schaetzen (automated)
0955e1a428 Merge remote-tracking branch 'aur/master'
All checks were successful
Workflows / Wake Runner (push) Successful in 6s
Workflows / Build and Push (push) Successful in 55s
2025-05-13 10:25:48 +02:00
Sebastiaan de Schaetzen (automated)
a322940d78 Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 7s
Workflows / Build and Push (push) Successful in 49s
2025-05-07 02:01:04 +02:00
f04bad9eb6 Update prerun.sh
All checks were successful
Workflows / Wake Runner (push) Successful in 5s
Workflows / Build and Push (push) Successful in 1m55s
2025-05-01 14:57:54 +02:00
9f69cd1fa2 Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 4s
Workflows / Build and Push (push) Successful in 35s
2025-04-25 10:53:58 +02:00
1f74c068b1 Add pkgname again
All checks were successful
Workflows / Wake Runner (push) Successful in 4s
Workflows / Build and Push (push) Successful in 35s
2025-04-25 10:50:58 +02:00
522ec133d6 Add prerun script
Some checks failed
Workflows / Build and Push (push) Failing after 7s
Workflows / Wake Runner (push) Successful in 5s
2025-04-25 10:48:15 +02:00
Jo Garnier
2266d22fbb 12.5.0 2025-04-25 10:48:15 +02:00
fbbb973dd7 Bump pkgrel
Some checks failed
Workflows / Wake Runner (push) Successful in 10s
Workflows / Build and Push (push) Has been cancelled
2025-04-25 10:47:45 +02:00
0452f8c1c3 Bump pkgrel
All checks were successful
Workflows / Wake Runner (push) Successful in 4s
Workflows / Build and Push (push) Successful in 36s
2025-04-25 10:36:51 +02:00
43fde90190 Update .gitea/workflows/workflow.yml
All checks were successful
Workflows / Wake Runner (push) Successful in 9s
Workflows / Build and Push (push) Successful in 37s
2025-04-25 10:35:23 +02:00
ea386848c6 Update .gitea/workflows/workflow.yml
Some checks failed
Workflows / Update from AUR (push) Failing after 8s
Workflows / Wake Runner (push) Has been skipped
Workflows / Build and Push (push) Has been skipped
2025-04-25 10:34:25 +02:00
6aa1c92272 Bump pkgrel
Some checks failed
Workflows / Update from AUR (push) Failing after 11s
Workflows / Wake Runner (push) Has been skipped
Workflows / Build and Push (push) Has been skipped
Workflows / Check if rebuild is necessary (push) Has been skipped
2025-04-25 10:33:53 +02:00
a801fc441d Bump pkgrel 2025-04-25 10:33:08 +02:00
a82b4a1be3 Bump pkgrel 2025-04-25 10:31:53 +02:00
Sebastiaan de Schaetzen (automated)
c26481fa3e Bump pkgrel 2025-04-25 10:30:15 +02:00
7510877f5b Reset pkgrel 2025-04-25 10:22:12 +02:00
Jo Garnier
59714d8ae3 12.5.0 2025-04-24 11:06:04 +02:00
Sebastiaan de Schaetzen (automated)
696f2ef550 Bump pkgrel to 6 2025-04-23 12:38:21 +02:00
Sebastiaan de Schaetzen (automated)
fcb8021204 Bump pkgrel to 5 2025-04-23 12:36:21 +02:00
Sebastiaan de Schaetzen (automated)
505cdeafa3 Bump pkgrel to 4 2025-04-23 12:34:44 +02:00
Sebastiaan de Schaetzen (automated)
27646b6e74 Bump pkgrel to 3 2025-04-23 12:32:23 +02:00
cf639fbc21 Make build depend on wake
All checks were successful
Workflows / Wake Runner (push) Successful in 4s
Workflows / Build and Push (push) Has been skipped
Workflows / Check if rebuild is necessary (push) Successful in 11s
Workflows / Update from AUR (push) Successful in 8s
2025-04-23 12:28:55 +02:00
7891ded64b Try different event names
All checks were successful
Workflows / Update from AUR (push) Successful in 8s
Workflows / Check if rebuild is necessary (push) Has been skipped
Workflows / Build and Push (push) Has been skipped
Workflows / Wake Runner (push) Successful in 4s
2025-04-23 12:28:14 +02:00
Sebastiaan de Schaetzen (automated)
88dd7213d6 Bump pkgrel to 2 (test)
All checks were successful
Workflows / Update from AUR (push) Successful in 7s
Workflows / Check if rebuild is necessary (push) Successful in 11s
Workflows / Build and Push (push) Has been skipped
Workflows / Wake Runner (push) Successful in 4s
2025-04-23 12:23:46 +02:00
2748fdf24b Attempt to run every two minutes
All checks were successful
Workflows / Update from AUR (push) Successful in 8s
Workflows / Wake Runner (push) Successful in 10s
Workflows / Check if rebuild is necessary (push) Has been skipped
Workflows / Build and Push (push) Has been skipped
2025-04-23 12:21:56 +02:00
278496c699 Do not check for rebuild again and optimize workflow
All checks were successful
Workflows / Update from AUR (push) Successful in 7s
Workflows / Wake Runner (push) Successful in 4s
Workflows / Check if rebuild is necessary (push) Successful in 10s
Workflows / Build and Push (push) Successful in 59s
2025-04-23 12:06:11 +02:00
9e0fe12fb8 Fix output thingy
Some checks failed
Workflows / Update from AUR (push) Successful in 8s
Workflows / Wake Runner (push) Successful in 4s
Workflows / Check if rebuild is necessary (push) Successful in 10s
Workflows / Build and Push (push) Failing after 26s
2025-04-23 12:04:53 +02:00
493df388b6 Remove graph logging 2025-04-23 12:04:47 +02:00
376b828fc0 Fetch all history
All checks were successful
Workflows / Update from AUR (push) Successful in 9s
Workflows / Wake Runner (push) Successful in 9s
Workflows / Check if rebuild is necessary (push) Successful in 11s
Workflows / Build and Push (push) Has been skipped
2025-04-23 12:03:00 +02:00
1237f01c6e Print log before merge
Some checks failed
Workflows / Update from AUR (push) Failing after 7s
Workflows / Wake Runner (push) Has been skipped
Workflows / Check if rebuild is necessary (push) Has been skipped
Workflows / Build and Push (push) Has been skipped
2025-04-23 12:00:42 +02:00
f7f8a6ed92 Print status after merge
Some checks failed
Workflows / Update from AUR (push) Failing after 7s
Workflows / Wake Runner (push) Has been skipped
Workflows / Check if rebuild is necessary (push) Has been skipped
Workflows / Build and Push (push) Has been skipped
2025-04-23 12:00:09 +02:00
4c3f415759 Allow merging unrelated histories
Some checks failed
Workflows / Update from AUR (push) Failing after 7s
Workflows / Wake Runner (push) Has been skipped
Workflows / Check if rebuild is necessary (push) Has been skipped
Workflows / Build and Push (push) Has been skipped
2025-04-23 11:58:55 +02:00
a383314040 Add up-to-date check to not recompile things that have not changed
Some checks failed
/ Wake Runner (push) Has been skipped
/ Check if rebuild is necessary (push) Has been skipped
/ Update from AUR (push) Failing after 7s
/ Build and Push (push) Has been skipped
2025-04-23 11:56:23 +02:00
cec6417f14 Use merge instead of rebase 2025-04-23 11:56:23 +02:00
bc8dfc2e88 Merge even more 2025-04-23 09:25:21 +00:00
6 changed files with 121 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
pkgbase = yay
pkgdesc = Yet another yogurt. Pacman wrapper and AUR helper written in go.
pkgver = 12.4.2
pkgver = 12.5.0
pkgrel = 1
url = https://github.com/Jguer/yay
arch = i686
@@ -18,7 +18,7 @@ pkgbase = yay
optdepends = sudo: privilege elevation
optdepends = doas: privilege elevation
options = !lto
source = yay-12.4.2.tar.gz::https://github.com/Jguer/yay/archive/v12.4.2.tar.gz
sha256sums = f3f4af5d84f75abc3ea726f192568bdf570e2632b4b3c214effa4bba406ad293
source = yay-12.5.0.tar.gz::https://github.com/Jguer/yay/archive/v12.5.0.tar.gz
sha256sums = 086bd410768611d40415181db18a8eda1f8cbad42dbe25190b0878424d442d47
pkgname = yay

24
.gitea/workflows/bump-pkgrel.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
# Run your check script
.gitea/workflows/check-up-to-date.sh
RETVAL=$?
if [ $RETVAL -eq 1 ]; then
echo "Changes detected, bumping pkgrel..."
# Use sed to increment pkgrel in the PKGBUILD file
sed -i -E 's/^(pkgrel=)([0-9]+)/echo "\1$((\2 + 1))"/e' PKGBUILD
# Get the new pkgrel value for the commit message
NEW_PKGREL=$(grep ^pkgrel= PKGBUILD | cut -d= -f2)
# Add, commit, and push the change
git add PKGBUILD
git commit -m "Bump pkgrel to ${NEW_PKGREL}"
git push
echo "pkgrel bumped to ${NEW_PKGREL} and changes pushed."
else
echo "No changes detected. Nothing to do."
fi

View File

@@ -0,0 +1,47 @@
#!/bin/bash
# Exit on any error
set -e
# Source the PKGBUILD in a subshell to avoid polluting the global environment
(
source ./PKGBUILD
# Convert pkgname to array in case it's a single string
pkgnames=("${pkgname[@]}")
for pkg in "${pkgnames[@]}"; do
echo "Checking package: $pkg"
if pacman -Si "$pkg" &>/dev/null; then
echo "Package '$pkg' exists in a repository."
# Get the package build date
pkg_build_date=$(date -d "$(pacman -Si "$pkg" | grep 'Build Date' | cut -d: -f2-)" +%s)
all_deps=("${depends[@]}" "${makedepends[@]}" "${optdepends[@]}")
# Check each dependency
for dep in "${all_deps[@]}"; do
dep_name=$(echo "$dep" | sed 's/[<>=].*//') # Remove version constraints
echo "Querying dependency: $dep_name"
if pacman -Si "$dep_name" &>/dev/null; then
dep_build_date=$(date -d "$(pacman -Si "$dep_name" | grep 'Build Date' | cut -d: -f2-)" +%s)
if (( dep_build_date >= pkg_build_date )); then
echo "Dependency '$dep_name' has newer or equal build date than '$pkg'."
exit 1
fi
else
echo "Dependency '$dep_name' not found in repositories. Skipping."
fi
done
echo "All dependencies are older than package '$pkg'."
exit 0
else
echo "Package '$pkg' does NOT exist in any repository."
exit 1
fi
done
)

View File

@@ -0,0 +1,39 @@
name: Workflows
on:
push:
branches:
- master
jobs:
wake:
name: Wake Runner
runs-on: ubuntu-latest
steps:
- name: Wakeup Runner
run: |
curl https://idlesleep.wolproxy.seeseepuff.be/status
build:
name: Build and Push
runs-on: ubuntu-amd64
container:
image: gitea.seeseepuff.be/archlinux/archlinux:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Ensure image is up-to-date
run: |
sudo pacman -Syu --noconfirm
- name: Build package
run: |
makepkg -s --noconfirm -
- name: Push to repository
run: |
makepkg --packagelist | while read -r file; do
curl --user ${{ secrets.USERNAME }}:${{ secrets.PASSWORD }} \
--upload-file $file \
https://gitea.seeseepuff.be/api/packages/archlinux/arch/personal
done

View File

@@ -1,7 +1,7 @@
# Maintainer: Jguer <pkgbuilds at jguer.space>
pkgname=yay
pkgver=12.4.2
pkgrel=1
pkgver=12.5.0
pkgrel=12
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
url="https://github.com/Jguer/yay"
@@ -15,9 +15,10 @@ optdepends=(
'sudo: privilege elevation'
'doas: privilege elevation'
)
makedepends=('go>=1.21')
makedepends=('go>=1.21'
'helloworld')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz")
sha256sums=('f3f4af5d84f75abc3ea726f192568bdf570e2632b4b3c214effa4bba406ad293')
sha256sums=('086bd410768611d40415181db18a8eda1f8cbad42dbe25190b0878424d442d47')
build() {
export GOPATH="$srcdir"/gopath

3
prerun.sh Executable file
View File

@@ -0,0 +1,3 @@
git remote add aur https://aur.archlinux.org/yay.git
git fetch aur
git merge -X theirs --no-edit aur/master