archrelease: copy trunk to extra-x86_64
[arch-packages.git] / sdl2_net / repos / extra-x86_64 / PKGBUILD
blob064d6ae0fd000df3f0b1d8beaf8bf9150446b7ea
1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
3 pkgname=sdl2_net
4 epoch=1
5 pkgver=2.2.0
6 pkgrel=1
7 pkgdesc="A small sample cross-platform networking library (Version 2)"
8 arch=('x86_64')
9 url="https://github.com/libsdl-org/SDL_net"
10 license=('MIT')
11 depends=(sdl2)
12 source=("https://github.com/libsdl-org/SDL_net/releases/download/release-${pkgver}/SDL2_net-${pkgver}.tar.gz"{,.sig})
13 sha512sums=('fa22f1a2c777aac6932551b5adc925288c424dc1af46a974fdb2e3579205b40b204db01d2a8c4048aa333a200efc241f784b9bc9276277e8ab4d23edb023ab69'
14             'SKIP')
15 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
17 build() {
18   cd "${srcdir}/SDL2_net-${pkgver}/"
20   ./configure --disable-static --prefix=/usr
21   make
24 package() {
25   cd "${srcdir}/SDL2_net-${pkgver}/"
27   make DESTDIR="${pkgdir}" install
28   install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"