init
This commit is contained in:
commit
480cb20a5f
3 changed files with 60 additions and 0 deletions
17
.SRCINFO
Normal file
17
.SRCINFO
Normal 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
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
bingus/
|
||||||
|
pkg/
|
||||||
|
src/
|
||||||
|
*.zst
|
39
PKGBUILD
Normal file
39
PKGBUILD
Normal 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"
|
||||||
|
}
|
Loading…
Reference in a new issue