[arch-commits] Commit in lib32-sdl2_ttf/repos (2 files)

Levente Polyak anthraxx at archlinux.org
Sat Oct 1 16:43:17 UTC 2016


    Date: Saturday, October 1, 2016 @ 16:43:17
  Author: anthraxx
Revision: 191156

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-sdl2_ttf/repos/multilib-x86_64/
  lib32-sdl2_ttf/repos/multilib-x86_64/PKGBUILD
    (from rev 191155, lib32-sdl2_ttf/trunk/PKGBUILD)

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

Copied: lib32-sdl2_ttf/repos/multilib-x86_64/PKGBUILD (from rev 191155, lib32-sdl2_ttf/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-x86_64/PKGBUILD	2016-10-01 16:43:17 UTC (rev 191156)
@@ -0,0 +1,32 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: carstene1ns <arch carsten-teibes de>
+
+pkgname=lib32-sdl2_ttf
+pkgver=2.0.14
+pkgrel=2
+pkgdesc='Library that allows you to use TrueType fonts in your SDL applications (Version 2) (32-bit)'
+url='https://www.libsdl.org/projects/SDL_ttf'
+arch=('x86_64')
+license=('MIT')
+depends=('lib32-sdl2' 'lib32-freetype2')
+source=(https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${pkgver}.tar.gz)
+sha512sums=('4db817573fd216e26180f4c401cc869ce407589a461032fd7167dc612d35e038cca1ab67be7909b6b49c741581a68125ab46362ad8e3c0a2cdd39624ad847099')
+
+build() {
+  cd SDL2_ttf-${pkgver}
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  ./configure --disable-static --prefix=/usr --libdir=/usr/lib32
+  make
+}
+
+package() {
+  cd SDL2_ttf-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}/usr/include"
+  install -Dm 644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list