void-packages/srcpkgs/libmygui/template
2021-11-06 20:50:19 +01:00

30 lines
800 B
Bash

# Template file for 'mygui'
pkgname=libmygui
version=3.4.1
revision=1
wrksrc="mygui-MyGUI${version}"
build_style=cmake
configure_args="-DMYGUI_BUILD_DEMOS=OFF -DMYGUI_RENDERSYSTEM=1 -DMYGUI_BUILD_TOOLS=OFF"
hostmakedepends="doxygen pkg-config"
makedepends="libX11-devel ois-devel boost-devel freetype-devel"
short_desc="Fast, flexible and simple GUI"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="http://mygui.info"
distfiles="https://github.com/MyGUI/mygui/archive/MyGUI${version}.tar.gz"
checksum=bdf730bdeb4ad89e6b8223967db01aa5274d2b93adc2c0d6aa4842faeed4de1a
libmygui-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}
post_install() {
vlicense COPYING.MIT
}