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

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Nov 7 20:26:54 UTC 2018


    Date: Wednesday, November 7, 2018 @ 20:26:54
  Author: svenstaro
Revision: 338049

archrelease: copy trunk to community-x86_64

Added:
  sdl2_image/repos/community-x86_64/
  sdl2_image/repos/community-x86_64/PKGBUILD
    (from rev 338048, sdl2_image/trunk/PKGBUILD)

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

Copied: sdl2_image/repos/community-x86_64/PKGBUILD (from rev 338048, sdl2_image/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-11-07 20:26:54 UTC (rev 338049)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=sdl2_image
+pkgver=2.0.4
+pkgrel=1
+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=('7320a5c9111908d402fbb0c12a49eb359a6db645c0c86839793ebb1a5b75eaca7c85eb96851f3a0b4a68a2f06363c8189555afd4f1048a4a41447370eddd7e6a')
+
+build() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+  ./configure --disable-static --prefix=/usr
+  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