summaryrefslogtreecommitdiffstats
path: root/abs/extra/sdl_pango/PKGBUILD
blob: 2587f1ed16d2d62ec67ad716ba0c15e75e3f8573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 149427 2012-02-07 16:56:19Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.com>
# Contributor: gyo <nucleogeek@gmail.com>

pkgname=sdl_pango
pkgver=0.1.2
pkgrel=4
pkgdesc="Pango SDL binding"
arch=('i686' 'x86_64')
url="http://sdlpango.sourceforge.net/"
license=('LGPL')
depends=('pango' 'sdl')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/sdlpango/SDL_Pango-$pkgver.tar.gz
        SDL_Pango-$pkgver-API-adds.patch
        matrix_declarations.patch)
md5sums=('85bbf9bb7b1cee0538154dadd045418c'
         '5decf3d7eb724e27548af3142131a2f6'
         '1067d401f4df54c7eb84ac3fd56ab76f')

build() {
  cd $srcdir/SDL_Pango-$pkgver
  patch -Np0 -i $srcdir/SDL_Pango-$pkgver-API-adds.patch
  patch -Np1 -i $srcdir/matrix_declarations.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/SDL_Pango-$pkgver
  make DESTDIR=$pkgdir install
}