generated from archlinux/template
Initial commit
This commit is contained in:
commit
d6ef4b091f
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
|
19
PKGBUILD
Normal file
19
PKGBUILD
Normal file
@ -0,0 +1,19 @@
|
||||
pkgname=template
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc="Template"
|
||||
arch=('any')
|
||||
url="https://gitea.seeseepuff.be/archlinux/helloworld"
|
||||
license=('GPL')
|
||||
source=(helloworld.c)
|
||||
md5sums=('be272e4d8286b99885f0540bc3345d5f')
|
||||
|
||||
build() {
|
||||
gcc -o helloworld helloworld.c -Wall -Wextra -Werror -pedantic
|
||||
}
|
||||
|
||||
package() {
|
||||
install -D helloworld "$pkgdir/usr/bin/helloworld"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user