upgpkg: sbcl 2.2.5-1
[arch-packages.git] / sdl2_net / trunk / PKGBUILD
blob0e2ba1a66762ea635c59b4eea0fccf3b2d489eb6
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
3 pkgname=sdl2_net
4 epoch=1
5 pkgver=2.0.1
6 pkgrel=3
7 pkgdesc="A small sample cross-platform networking library (Version 2)"
8 arch=('x86_64')
9 url="http://www.libsdl.org/projects/SDL_net"
10 license=('MIT')
11 depends=(sdl2)
12 source=("https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${pkgver}.tar.gz")
13 sha512sums=('d27faee3cddc3592dae38947e6c1df0cbaa95f82fde9c87db6d11f6312d868cea74f6830ad07ceeb3d0d75e9424cebf39e54fddf9a1147e8d9e664609de92b7a')
15 build() {
16   cd "${srcdir}/SDL2_net-${pkgver}/"
18   ./configure --disable-static --prefix=/usr
19   make
22 package() {
23   cd "${srcdir}/SDL2_net-${pkgver}/"
25   make DESTDIR="${pkgdir}" install
26   install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"