summaryrefslogtreecommitdiffstats
path: root/abs/extra/sdl_pango/PKGBUILD
blob: 705e900e9d05a42259a8c335c97a3fba3c4fc091 (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
# $Id: PKGBUILD 8769 2008-08-16 05:40:38Z eric $
#
# Contributor: gyo <nucleogeek@gmail.com>

pkgname=sdl_pango
pkgver=0.1.2
pkgrel=1
pkgdesc="Pango SDL binding"
arch=('i686' 'x86_64')
url="http://sdlpango.sourceforge.net/"
license=""
depends=('pango' 'sdl')
options=('!libtool')
source=(http://switch.dl.sourceforge.net/sourceforge/sdlpango/SDL_Pango-$pkgver.tar.gz http://zarb.org/~gc/t/SDL_Pango-$pkgver-API-adds.patch)
md5sums=('85bbf9bb7b1cee0538154dadd045418c' '5decf3d7eb724e27548af3142131a2f6')

build() {
  _prefixname=SDL_Pango
  cd $startdir/src/$_prefixname-$pkgver
  patch -Np0 < $startdir/src/$_prefixname-$pkgver-API-adds.patch
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}