[arch-commits] Commit in sdl2/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Mar 29 12:32:45 UTC 2018
Date: Thursday, March 29, 2018 @ 12:32:44
Author: svenstaro
Revision: 320611
upgpkg: sdl2 2.0.8-3
Fix wrong staticlib name
Modified:
sdl2/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-29 11:53:27 UTC (rev 320610)
+++ PKGBUILD 2018-03-29 12:32:44 UTC (rev 320611)
@@ -1,7 +1,7 @@
# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
pkgname=sdl2
pkgver=2.0.8
-pkgrel=2
+pkgrel=3
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"
@@ -39,6 +39,9 @@
package() {
cd SDL2-${pkgver}/build
+
make DESTDIR="$pkgdir" install
+
+ 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