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

Felix Yan felixonmars at archlinux.org
Tue May 19 08:22:52 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:22:51
  Author: felixonmars
Revision: 386271

archrelease: copy trunk to staging-x86_64

Added:
  sdl2_image/repos/staging-x86_64/
  sdl2_image/repos/staging-x86_64/PKGBUILD
    (from rev 386269, sdl2_image/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: sdl2_image/repos/staging-x86_64/PKGBUILD (from rev 386269, sdl2_image/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:22:51 UTC (rev 386271)
@@ -0,0 +1,29 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=sdl2_image
+pkgver=2.0.5
+pkgrel=2
+pkgdesc="A simple library to load images of various formats as SDL surfaces (Version 2)"
+arch=('x86_64')
+url="http://www.libsdl.org/projects/SDL_image"
+license=('MIT')
+depends=('sdl2' 'libpng' 'libtiff' 'libjpeg' 'libwebp')
+makedepends=('cmake')
+source=("https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${pkgver}.tar.gz")
+sha512sums=('77e743d3f32707e015b290c1379ae3c7d7a3fe265995713267f0d0ec6517de4808f0de9890b5ab28445941af5bc9fbff346620629e0d7d7e9f365262cab05ee7')
+
+build() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+  ./configure --disable-static --prefix=/usr \
+    --disable-jpg-shared \
+    --disable-png-shared \
+    --disable-tif-shared \
+    --disable-webp-shared
+  make
+}
+
+package() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+
+  make DESTDIR="${pkgdir}/" install
+  install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list