Date: Thursday, February 9, 2023 @ 13:42:26
  Author: alucryd
Revision: 1397635

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-sdl2_image/repos/multilib-x86_64/PKGBUILD
    (from rev 1397634, lib32-sdl2_image/trunk/PKGBUILD)
Deleted:
  lib32-sdl2_image/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  109 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 56 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-09 13:42:16 UTC (rev 1397634)
+++ PKGBUILD    2023-02-09 13:42:26 UTC (rev 1397635)
@@ -1,53 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-# Contributor: carstene1ns <[email protected]>
-# Contributor: Jameson Pugh <[email protected]>
-
-pkgname=lib32-sdl2_image
-pkgver=2.6.2
-pkgrel=2
-pkgdesc='A simple library to load images of various formats as SDL surfaces'
-arch=(x86_64)
-url=https://www.libsdl.org/projects/SDL_image/
-license=(MIT)
-depends=(
-  lib32-glibc
-  lib32-libjpeg
-  lib32-libpng
-  lib32-libtiff
-  lib32-sdl2
-  lib32-libwebp
-  sdl2_image
-)
-makedepends=(
-  cmake
-  git
-)
-source=(git+https://github.com/libsdl-org/SDL_image#tag=release-${pkgver})
-b2sums=(SKIP)
-
-prepare() {
-  cd SDL_image
-  ./autogen.sh
-}
-
-build() {
-  cd SDL_image
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
-  ./configure \
-    --prefix=/usr \
-    --libdir=/usr/lib32 \
-    --disable-static \
-    --disable-jxl
-  make
-}
-
-package() {
-  make DESTDIR="${pkgdir}" -C SDL_image install
-  rm -rf "${pkgdir}"/usr/include
-  install -dm 755 "${pkgdir}"/usr/share/licenses
-  ln -s sdl2_image "$pkgdir"/usr/share/licenses/lib32-sdl2_image
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-sdl2_image/repos/multilib-x86_64/PKGBUILD (from rev 1397634, 
lib32-sdl2_image/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-09 13:42:26 UTC (rev 1397635)
@@ -0,0 +1,56 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: carstene1ns <[email protected]>
+# Contributor: Jameson Pugh <[email protected]>
+
+pkgname=lib32-sdl2_image
+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/
+license=(MIT)
+depends=(
+  lib32-glibc
+  lib32-libjpeg
+  lib32-libpng
+  lib32-libtiff
+  lib32-sdl2
+  lib32-libwebp
+  sdl2_image
+)
+makedepends=(git)
+_tag=d3c6d5963dbe438bcae0e2b6f3d7cfea23d02829
+source=(git+https://github.com/libsdl-org/SDL_image.git#tag=${_tag})
+b2sums=(SKIP)
+
+prepare() {
+  cd SDL_image
+  ./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=i686-pc-linux-gnu-pkg-config
+  ./configure \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
+    --disable-static \
+    --disable-jxl
+  make
+}
+
+package() {
+  make DESTDIR="${pkgdir}" -C SDL_image install
+  rm -rf "${pkgdir}"/usr/include
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s sdl2_image "$pkgdir"/usr/share/licenses/lib32-sdl2_image
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to