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

Felix Yan felixonmars at archlinux.org
Tue May 19 08:29:24 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:29:23
  Author: felixonmars
Revision: 386331

archrelease: copy trunk to staging-x86_64

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

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

Copied: sdl2_net/repos/staging-x86_64/PKGBUILD (from rev 386329, sdl2_net/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:29:23 UTC (rev 386331)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=sdl2_net
+epoch=1
+pkgver=2.0.1
+pkgrel=3
+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