mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:57:13 +08:00
34 lines
784 B
Bash
34 lines
784 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakraos.org
|
|
#
|
|
# maintainer almack
|
|
|
|
|
|
pkgname=sdl_ttf
|
|
pkgver=2.0.11
|
|
pkgrel=1
|
|
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications"
|
|
arch=('x86_64')
|
|
license=('custom')
|
|
url="http://www.libsdl.org/projects/SDL_ttf/"
|
|
depends=('sdl' 'freetype2')
|
|
source=("http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${pkgver}.tar.gz"
|
|
'bug1433.patch')
|
|
md5sums=('61e29bd9da8d245bc2471d1b2ce591aa'
|
|
'f847697e18eec539aaf3ffb96996abbf')
|
|
|
|
build() {
|
|
cd "${srcdir}/SDL_ttf-${pkgver}"
|
|
patch -i "$srcdir/bug1433.patch"
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/SDL_ttf-${pkgver}"
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|