diff options
author | Eduardo Bart | 2020-11-29 08:41:53 -0300 |
---|---|---|
committer | Eduardo Bart | 2020-11-29 08:41:53 -0300 |
commit | 7ca61ce7c5f2a59d44c02fa633ee4e2f6f1b4b9d (patch) | |
tree | 42480ce8ab1bd3e845254ec61a17a8a953a69161 | |
parent | 5cdc3df31fa9490ced6db6be047311e08cbfd7ca (diff) | |
download | aur-7ca61ce7c5f2a59d44c02fa633ee4e2f6f1b4b9d.tar.gz |
Try to fix cmake issues
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = mingw-w64-sdl2 pkgdesc = A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2) (mingw-w64) pkgver = 2.0.12 - pkgrel = 2 + pkgrel = 3 url = http://libsdl.org arch = any license = MIT @@ -1,6 +1,6 @@ pkgname=mingw-w64-sdl2 pkgver=2.0.12 -pkgrel=2 +pkgrel=3 pkgdesc='A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2) (mingw-w64)' license=('MIT') url='http://libsdl.org' @@ -15,7 +15,7 @@ options=(staticlibs '!strip' '!buildflags') prepare() { cd "${srcdir}/SDL2-${pkgver}" - sed -i 's/@libdir@\/libSDL2\.so/@bindir@\/SDL2.dll/' sdl2-config.cmake.in + sed -i 's:IMPORTED_LOCATION "@libdir@/libSDL2\.so":IMPORTED_LOCATION "@bindir@/SDL2.dll" IMPORTED_IMPLIB "@libdir@/libSDL2.dll.a":' sdl2-config.cmake.in } build() { |