summaryrefslogtreecommitdiff
path: root/extra/sdl2_net
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /extra/sdl2_net
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'extra/sdl2_net')
-rw-r--r--extra/sdl2_net/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/sdl2_net/PKGBUILD b/extra/sdl2_net/PKGBUILD
new file mode 100644
index 000000000..6deb7d889
--- /dev/null
+++ b/extra/sdl2_net/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+
+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"
+}