Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions srcpkgs/SDL2_net/template
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
# Template file for 'SDL2_net'
pkgname=SDL2_net
version=2.0.1
revision=3
build_style=gnu-configure
configure_args="--disable-static"
version=2.4.0
revision=1
build_style=cmake
configure_args="-DSDL2NET_SAMPLES=OFF"
hostmakedepends="pkg-config"
makedepends="SDL2-devel"
short_desc="SDL2 networking module"
short_desc="Networking library (SDL 2.x)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.libsdl.org/projects/SDL_net/"
license="Zlib"
homepage="https://github.com/libsdl-org/SDL_net"
changelog="https://github.com/libsdl-org/SDL_net/raw/SDL2/CHANGES.txt"
distfiles="https://www.libsdl.org/projects/SDL_net/release/${pkgname}-${version}.tar.gz"
checksum=15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21
checksum=9cbca2527feb3f1a622d48ba65cc7dee9b1e3f2c55ceafb7d7720bb058aafb30

post_install() {
vlicense COPYING.txt
vlicense LICENSE.txt
}

SDL2_net-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
Expand Down