Initial commit
This commit is contained in:
commit
95f856955a
24
.gitea/workflows/build.yml
Normal file
24
.gitea/workflows/build.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: Build and Push
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-amd64
|
||||||
|
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=helloworld
|
||||||
|
pkgver=1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Prints hello world"
|
||||||
|
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"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
5
helloworld.c
Normal file
5
helloworld.c
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
puts("Hello, world!");
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user