summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Bart2020-11-29 08:41:53 -0300
committerEduardo Bart2020-11-29 08:41:53 -0300
commit7ca61ce7c5f2a59d44c02fa633ee4e2f6f1b4b9d (patch)
tree42480ce8ab1bd3e845254ec61a17a8a953a69161
parent5cdc3df31fa9490ced6db6be047311e08cbfd7ca (diff)
downloadaur-7ca61ce7c5f2a59d44c02fa633ee4e2f6f1b4b9d.tar.gz
Try to fix cmake issues
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 94c6ecd06907..64eab7f57269 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index cde85e18318c..c801f2310a76 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {