Compare commits

...

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

5 changed files with 60 additions and 51 deletions

24
.SRCINFO Normal file
View File

@ -0,0 +1,24 @@
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

@ -1,26 +0,0 @@
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

View File

@ -1,13 +0,0 @@
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 Normal file
View File

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

View File

@ -1,19 +1,37 @@
pkgname=template
pkgver=1
# Maintainer: Jguer <pkgbuilds at jguer.space>
pkgname=yay
pkgver=12.4.2
pkgrel=1
pkgdesc="Template"
arch=('any')
url="https://gitea.seeseepuff.be/archlinux/helloworld"
license=('GPL')
source=(helloworld.c)
md5sums=('be272e4d8286b99885f0540bc3345d5f')
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"
options=(!lto)
license=('GPL-3.0-or-later')
depends=(
'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() {
gcc -o helloworld helloworld.c -Wall -Wextra -Werror -pedantic
export GOPATH="$srcdir"/gopath
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() {
install -D helloworld "$pkgdir/usr/bin/helloworld"
cd "$srcdir/$pkgname-$pkgver"
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
}