summaryrefslogtreecommitdiff
path: root/extra/sdl_net/PKGBUILD
blob: c7f0947e05bead0cad9ef09e5b5d79c1ee7bf3ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 198421 2013-10-30 14:46:25Z allan $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=sdl_net
pkgver=1.2.8
pkgrel=1.1
pkgdesc="A small sample cross-platform networking library"
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.libsdl.org/projects/SDL_net/"
depends=('sdl')
source=(http://www.libsdl.org/projects/SDL_net/release/SDL_net-$pkgver.tar.gz)
md5sums=('20e64e61d65662db66c379034f11f718')

build() {
  cd "$srcdir/SDL_net-$pkgver"
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "$srcdir/SDL_net-$pkgver"
  make DESTDIR="$pkgdir" install

  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}