generated from archlinux/template
Compare commits
No commits in common. "d6ef4b091f5facb0fe87ef44ce0c020645c3cdf8" and "179b744dec6648ff7c7b051c692ba20c906f348e" have entirely different histories.
d6ef4b091f
...
179b744dec
24
.SRCINFO
Normal file
24
.SRCINFO
Normal 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
|
@ -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
|
|
@ -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
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/*.tar.xz
|
||||||
|
/*.tar.gz
|
||||||
|
/*.tar.zst
|
||||||
|
/pkg
|
||||||
|
/src
|
||||||
|
/yay
|
42
PKGBUILD
42
PKGBUILD
@ -1,19 +1,37 @@
|
|||||||
pkgname=template
|
# Maintainer: Jguer <pkgbuilds at jguer.space>
|
||||||
pkgver=1
|
pkgname=yay
|
||||||
|
pkgver=12.4.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Template"
|
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
|
||||||
arch=('any')
|
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
|
||||||
url="https://gitea.seeseepuff.be/archlinux/helloworld"
|
url="https://github.com/Jguer/yay"
|
||||||
license=('GPL')
|
options=(!lto)
|
||||||
source=(helloworld.c)
|
license=('GPL-3.0-or-later')
|
||||||
md5sums=('be272e4d8286b99885f0540bc3345d5f')
|
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() {
|
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() {
|
package() {
|
||||||
install -D helloworld "$pkgdir/usr/bin/helloworld"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user