[arch-commits] Commit in sdl2_net/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:03:36 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:03:35
  Author: foutrelis
Revision: 338835

archrelease: copy trunk to staging-x86_64

Added:
  sdl2_net/repos/staging-x86_64/
  sdl2_net/repos/staging-x86_64/PKGBUILD
    (from rev 338834, sdl2_net/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: sdl2_net/repos/staging-x86_64/PKGBUILD (from rev 338834, sdl2_net/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-10 00:03:35 UTC (rev 338835)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=sdl2_net
+epoch=1
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="A small sample cross-platform networking library (Version 2)"
+arch=('x86_64')
+url="http://www.libsdl.org/projects/SDL_net"
+license=('MIT')
+depends=(sdl2)
+source=("https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${pkgver}.tar.gz")
+sha512sums=('d27faee3cddc3592dae38947e6c1df0cbaa95f82fde9c87db6d11f6312d868cea74f6830ad07ceeb3d0d75e9424cebf39e54fddf9a1147e8d9e664609de92b7a')
+
+build() {
+  cd "${srcdir}/SDL2_net-${pkgver}/"
+
+  ./configure --disable-static --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/SDL2_net-${pkgver}/"
+
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


More information about the arch-commits mailing list