[arch-commits] Commit in sdl2/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Mar 29 16:16:22 UTC 2018


    Date: Thursday, March 29, 2018 @ 16:16:21
  Author: svenstaro
Revision: 320618

upgpkg: sdl2 2.0.8-4

Use regex properly

Modified:
  sdl2/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-29 16:05:44 UTC (rev 320617)
+++ PKGBUILD	2018-03-29 16:16:21 UTC (rev 320618)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
 pkgname=sdl2
 pkgver=2.0.8
-pkgrel=3
+pkgrel=4
 pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)"
 arch=('x86_64')
 url="http://www.libsdl.org"
@@ -42,6 +42,6 @@
 
   make DESTDIR="$pkgdir" install
 
-  sed -i "s/libSDL2.a/libSDL2main.a/g" "$pkgdir"/usr/lib/cmake/SDL2/SDL2Targets-noconfig.cmake
+  sed -i "s/libSDL2\.a/libSDL2main.a/g" "$pkgdir"/usr/lib/cmake/SDL2/SDL2Targets-noconfig.cmake
   install -Dm644 ../COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list