28 lines
766 B
Bash
28 lines
766 B
Bash
# Template file for 'SDL2_net'
|
|
pkgname=SDL2_net
|
|
version=2.0.1
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="SDL2-devel"
|
|
short_desc="SDL2 networking module"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.libsdl.org/projects/SDL_net/"
|
|
distfiles="https://www.libsdl.org/projects/SDL_net/release/${pkgname}-${version}.tar.gz"
|
|
checksum=15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21
|
|
|
|
post_install() {
|
|
vlicense COPYING.txt
|
|
}
|
|
|
|
SDL2_net-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|