40 lines
862 B
Bash
40 lines
862 B
Bash
# 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"
|
|
}
|