blob: f31c6ccfe5c8140605db8c5baf07ae6ebca900b9 (
plain) (
tree)
|
|
# Maintainer: Gabriel Jensen
pkgname=bowshock
pkgver=4.0.0
pkgrel=1
pkgdesc=""
arch=("any")
url="https://mandelbrot.dk/${pkgname}"
makedepends=("desktop-file-utils" "git")
source=("git+https://mandelbrot.dk/${pkgname}")
license=("custom")
sha512sums=("SKIP")
pkgver() {
cd "${srcdir}/${pkgname}"
printf "%s.0.0" "$(git describe --abbrev=0)"
}
build() {
cd "${srcdir}/${pkgname}"
make -C"${pkgname}" -j$(($(nproc) + 0x1))
}
package() {
cd "${srcdir}/${pkgname}"
mkdir -pm755 "${pkgdir}/usr/bin"
mkdir -pm755 "${pkgdir}/usr/share/applications"
mkdir -pm755 "${pkgdir}/usr/share/icons"
install -m755 "${pkgname}/${pkgname}.elf" "${pkgdir}/usr/bin/${pkgname}"
install -m644 "${pkgname}-small.svg" "${pkgdir}/usr/share/icons/${pkgname}.svg"
desktop-file-install --dir="${pkgdir}/usr/share/applications" "${pkgname}.desktop"
}
|