[arch-commits] Commit in lib32-sdl2_image/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Wed Nov 14 10:53:13 UTC 2018


    Date: Wednesday, November 14, 2018 @ 10:53:12
  Author: alucryd
Revision: 407330

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |   89 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 46 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-14 10:53:03 UTC (rev 407329)
+++ PKGBUILD	2018-11-14 10:53:12 UTC (rev 407330)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: carstene1ns <arch.carsten at teibes.de>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-
-pkgname=lib32-sdl2_image
-pkgver=2.0.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=('cmake')
-source=("https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${pkgver}.tar.gz")
-sha256sums=('3510c25da735ffcd8ce3b65073150ff4f7f9493b866e85b83738083b556d2368')
-
-build() {
-  cd SDL2_image-${pkgver}
-
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-  ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib32' \
-    --disable-static
-  make
-}
-
-package() {
-  cd SDL2_image-${pkgver}
-
-  make DESTDIR="${pkgdir}" 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 407329, lib32-sdl2_image/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-14 10:53:12 UTC (rev 407330)
@@ -0,0 +1,46 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: carstene1ns <arch.carsten at teibes.de>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+
+pkgname=lib32-sdl2_image
+pkgver=2.0.4
+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=('cmake' 'mercurial')
+source=("hg+https://hg.libsdl.org/SDL_image#tag=release-${pkgver}")
+sha256sums=('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
+  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:



More information about the arch-commits mailing list