mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
32 lines
970 B
Bash
32 lines
970 B
Bash
# Lib32 Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
|
|
|
_pkgbasename=sdl_ttf
|
|
pkgname=lib32-$_pkgbasename
|
|
pkgver=2.0.10
|
|
pkgrel=2
|
|
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (32-bit)"
|
|
arch=('x86_64')
|
|
url="http://www.libsdl.org/projects/SDL_ttf/"
|
|
license=('LGPL')
|
|
options=('!libtool')
|
|
depends=('lib32-sdl' 'lib32-freetype2' $_pkgbasename)
|
|
makedepends=('gcc-multilib')
|
|
source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz)
|
|
sha256sums=('7d38704bcc7c34029c2dcb73b2d4857e8ad76341c6e0faed279eb9f743c66c6a')
|
|
|
|
build() {
|
|
cd "${srcdir}"/SDL_ttf-${pkgver}
|
|
./configure --prefix=/usr --libdir=/usr/lib32 CC="gcc -m32" PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/SDL_ttf-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
rm -rf "${pkgdir}"/usr/include
|
|
}
|
|
|