[arch-commits] Commit in (4 files)
Levente Polyak
anthraxx at archlinux.org
Sat Oct 1 16:42:50 UTC 2016
Date: Saturday, October 1, 2016 @ 16:42:50
Author: anthraxx
Revision: 191155
addpkg: lib32-sdl2_ttf 2.0.14-2
Added:
lib32-sdl2_ttf/
lib32-sdl2_ttf/repos/
lib32-sdl2_ttf/trunk/
lib32-sdl2_ttf/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: lib32-sdl2_ttf/trunk/PKGBUILD
===================================================================
--- lib32-sdl2_ttf/trunk/PKGBUILD (rev 0)
+++ lib32-sdl2_ttf/trunk/PKGBUILD 2016-10-01 16:42:50 UTC (rev 191155)
@@ -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