Compare commits

..

No commits in common. "179b744dec6648ff7c7b051c692ba20c906f348e" and "d6ef4b091f5facb0fe87ef44ce0c020645c3cdf8" have entirely different histories.

5 changed files with 51 additions and 60 deletions

View File

@ -1,24 +0,0 @@
pkgbase = yay
pkgdesc = Yet another yogurt. Pacman wrapper and AUR helper written in go.
pkgver = 12.4.2
pkgrel = 1
url = https://github.com/Jguer/yay
arch = i686
arch = pentium4
arch = x86_64
arch = arm
arch = armv7h
arch = armv6h
arch = aarch64
arch = riscv64
license = GPL-3.0-or-later
makedepends = go>=1.21
depends = pacman>6.1
depends = git
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
pkgname = yay

View File

@ -0,0 +1,26 @@
name: Build and Push
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-amd64
container:
image: gitea.seeseepuff.be/archlinux/archlinux:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build package
run: |
makepkg -s -
- 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

13
.gitea/workflows/wake.yml Normal file
View File

@ -0,0 +1,13 @@
name: Wake Runner
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Wakeup Runner
run: |
curl https://idlesleep.wolproxy.seeseepuff.be/status

6
.gitignore vendored
View File

@ -1,6 +0,0 @@
/*.tar.xz
/*.tar.gz
/*.tar.zst
/pkg
/src
/yay

View File

@ -1,37 +1,19 @@
# Maintainer: Jguer <pkgbuilds at jguer.space> pkgname=template
pkgname=yay pkgver=1
pkgver=12.4.2
pkgrel=1 pkgrel=1
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go." pkgdesc="Template"
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64') arch=('any')
url="https://github.com/Jguer/yay" url="https://gitea.seeseepuff.be/archlinux/helloworld"
options=(!lto) license=('GPL')
license=('GPL-3.0-or-later') source=(helloworld.c)
depends=( md5sums=('be272e4d8286b99885f0540bc3345d5f')
'pacman>6.1'
'git'
)
optdepends=(
'sudo: privilege elevation'
'doas: privilege elevation'
)
makedepends=('go>=1.21')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz")
sha256sums=('f3f4af5d84f75abc3ea726f192568bdf570e2632b4b3c214effa4bba406ad293')
build() { build() {
export GOPATH="$srcdir"/gopath gcc -o helloworld helloworld.c -Wall -Wextra -Werror -pedantic
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export CGO_ENABLED=1
cd "$srcdir/$pkgname-$pkgver"
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" build
} }
package() { package() {
cd "$srcdir/$pkgname-$pkgver" install -D helloworld "$pkgdir/usr/bin/helloworld"
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
} }