Date: Thursday, February 9, 2023 @ 13:42:16
  Author: alucryd
Revision: 1397634

upgpkg: lib32-sdl2_image 2.6.3-1

Modified:
  lib32-sdl2_image/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-09 13:38:17 UTC (rev 1397633)
+++ PKGBUILD    2023-02-09 13:42:16 UTC (rev 1397634)
@@ -3,8 +3,8 @@
 # Contributor: Jameson Pugh <[email protected]>
 
 pkgname=lib32-sdl2_image
-pkgver=2.6.2
-pkgrel=2
+pkgver=2.6.3
+pkgrel=1
 pkgdesc='A simple library to load images of various formats as SDL surfaces'
 arch=(x86_64)
 url=https://www.libsdl.org/projects/SDL_image/
@@ -18,11 +18,9 @@
   lib32-libwebp
   sdl2_image
 )
-makedepends=(
-  cmake
-  git
-)
-source=(git+https://github.com/libsdl-org/SDL_image#tag=release-${pkgver})
+makedepends=(git)
+_tag=d3c6d5963dbe438bcae0e2b6f3d7cfea23d02829
+source=(git+https://github.com/libsdl-org/SDL_image.git#tag=${_tag})
 b2sums=(SKIP)
 
 prepare() {
@@ -30,11 +28,16 @@
   ./autogen.sh
 }
 
+pkgver() {
+  cd SDL_image
+  git describe --tags | sed 's/^release-//'
+}
+
 build() {
   cd SDL_image
   export CC='gcc -m32'
   export CXX='g++ -m32'
-  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+  export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
   ./configure \
     --prefix=/usr \
     --libdir=/usr/lib32 \

Reply via email to