void-packages/srcpkgs/libgme/template

25 lines
778 B
Bash

# Template file for 'libgme'
pkgname=libgme
version=0.6.3
revision=1
wrksrc="game-music-emu-${version}"
build_style=cmake
configure_args="-DENABLE_UBSAN=OFF"
makedepends="zlib-devel SDL2-devel"
short_desc="Video game music file emulation/playback library"
maintainer="Pierre Allegraud <pierre.allegraud@crans.org>"
license="LGPL-2.1-or-later"
homepage="https://bitbucket.org/mpyne/game-music-emu/wiki/Home"
distfiles="https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-${version}.tar.xz"
checksum=aba34e53ef0ec6a34b58b84e28bf8cfbccee6585cebca25333604c35db3e051d
libgme-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}