From 18a41d682d6e91e0d28fce23eb75292f477bd620 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Aug 2013 01:21:34 -0700 Subject: Sun Aug 11 01:21:31 PDT 2013 --- community/sdl2_net/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 community/sdl2_net/PKGBUILD (limited to 'community/sdl2_net/PKGBUILD') diff --git a/community/sdl2_net/PKGBUILD b/community/sdl2_net/PKGBUILD new file mode 100644 index 000000000..6deb7d889 --- /dev/null +++ b/community/sdl2_net/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Sven-Hendrik Haase + +pkgname=sdl2_net +pkgver=249 +pkgrel=1 +pkgdesc="A small sample cross-platform networking library (Version 2)" +arch=('i686' 'x86_64') +url="http://www.libsdl.org" +license=('MIT') +depends=(sdl2) +makedepends=(mercurial) +options=(!libtool) +source=("sdl2_net::hg+http://hg.libsdl.org/SDL_net#revision=$pkgver") +md5sums=('SKIP') + +build() { + cd "${srcdir}/sdl2_net/" + + ./autogen.sh + ./configure --disable-static --prefix=/usr + make +} + +package() { + cd "${srcdir}/sdl2_net/" + + make DESTDIR="${pkgdir}/" install + + install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} -- cgit v1.2.3-54-g00ecf