void-packages/srcpkgs/prototype/template

24 lines
715 B
Bash

# Template file for 'prototype'
pkgname=prototype
version=1.0.0
revision=1
makedepends="libpng-devel SDL2_mixer-devel"
short_desc="RType remake from Dark Castle Software"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Public Domain"
homepage="https://github.com/ptitSeb/prototype"
distfiles="https://github.com/ptitSeb/prototype/archive/v${version}.tar.gz"
checksum=400f8a5c727c9feaa6b48b65c23c312db41dd238af9526659bf3342346c05af6
CXXFLAGS="-Wno-write-strings"
do_build() {
make SDL2=1 LINUX=1 CPP=$CXX LD=$CXX ${makejobs}
}
do_install() {
vmkdir usr/libexec/prototype
vcopy Data usr/libexec/prototype
install -m755 prototype ${DESTDIR}/usr/libexec/prototype
vbin ${FILESDIR}/prototype.sh prototype
}