void-packages/srcpkgs/vgmplay/template
Enno Boland f40cd77686 srcpkgs: remove pullmoll from maintainers field. 😢
Set them to Orphaned for now.

If you'd like to pick up a package, feel free.
2021-04-10 16:34:44 +02:00

27 lines
726 B
Bash

# Template file for 'vgmplay'
pkgname=vgmplay
version=0.40.9
revision=1
build_style=gnu-makefile
build_wrksrc="VGMPlay"
makedepends="libao-devel zlib-devel"
short_desc="VGM file player"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/vgmrips/vgmplay/"
distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
CFLAGS="-fcommon"
LDFLAGS="-lm -pthread -lao -lz"
pre_build() {
sed -i Makefile -e "s;CC = gcc;CC = $CC;"
case "$XBPS_TARGET_MACHINE" in
mips-*|mipshf-*) sed -i Makefile -e"s;BYTE_ORDER =;& 2;" ;;
esac
}
pre_install() {
vmkdir usr/bin
}