generated from archlinux/template
Compare commits
No commits in common. "179b744dec6648ff7c7b051c692ba20c906f348e" and "d6ef4b091f5facb0fe87ef44ce0c020645c3cdf8" have entirely different histories.
179b744dec
...
d6ef4b091f
24
.SRCINFO
24
.SRCINFO
@ -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
|
26
.gitea/workflows/build.yml
Normal file
26
.gitea/workflows/build.yml
Normal 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
13
.gitea/workflows/wake.yml
Normal 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
6
.gitignore
vendored
@ -1,6 +0,0 @@
|
||||
/*.tar.xz
|
||||
/*.tar.gz
|
||||
/*.tar.zst
|
||||
/pkg
|
||||
/src
|
||||
/yay
|
42
PKGBUILD
42
PKGBUILD
@ -1,37 +1,19 @@
|
||||
# Maintainer: Jguer <pkgbuilds at jguer.space>
|
||||
pkgname=yay
|
||||
pkgver=12.4.2
|
||||
pkgname=template
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
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')
|
||||
pkgdesc="Template"
|
||||
arch=('any')
|
||||
url="https://gitea.seeseepuff.be/archlinux/helloworld"
|
||||
license=('GPL')
|
||||
source=(helloworld.c)
|
||||
md5sums=('be272e4d8286b99885f0540bc3345d5f')
|
||||
|
||||
build() {
|
||||
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
|
||||
gcc -o helloworld helloworld.c -Wall -Wextra -Werror -pedantic
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
|
||||
install -D helloworld "$pkgdir/usr/bin/helloworld"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user