This commit is contained in:
LordMZTE 2022-11-28 16:28:28 +01:00
commit 480cb20a5f
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
3 changed files with 60 additions and 0 deletions

17
.SRCINFO Normal file
View file

@ -0,0 +1,17 @@
pkgbase = bingus-git
pkgdesc = A simple bingo GUI written in OpenGL
pkgver = r0
pkgrel = 1
url = https://mzte.de/git/LordMZTE/bingus
arch = any
license = GPL-3
makedepends = git
makedepends = zig-git
depends = glfw
depends = freetype2
provides = bingus
conflicts = bingus
source = git+https://mzte.de/git/LordMZTE/bingus.git
sha256sums = SKIP
pkgname = bingus-git

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
bingus/
pkg/
src/
*.zst

39
PKGBUILD Normal file
View file

@ -0,0 +1,39 @@
# Maintainer: LordMZTE <lord at mzte dot de>
_pkgname=bingus
pkgname="${_pkgname}-git"
pkgver=r5.688ba71
pkgrel=1
pkgdesc="A simple bingo GUI written in OpenGL"
url="https://mzte.de/git/LordMZTE/bingus"
license=("GPL-3")
depends=()
makedepends=("git" "zig-git")
depends=("glfw" "freetype2")
arch=("any")
provides=("bingus")
conflicts=("bingus")
source=("git+https://mzte.de/git/LordMZTE/bingus.git")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${_pkgname}"
git submodule update --init
}
build() {
cd "${srcdir}/${_pkgname}"
zig build -Drelease-fast=true
}
package() {
cd "${srcdir}/${_pkgname}"
zig build -Drelease-fast=true -p ${pkgdir}/usr
install -D -m644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
}