diff options
Diffstat (limited to 'abs/extra/sdl_pango/PKGBUILD')
-rw-r--r-- | abs/extra/sdl_pango/PKGBUILD | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/abs/extra/sdl_pango/PKGBUILD b/abs/extra/sdl_pango/PKGBUILD index 705e900..2587f1e 100644 --- a/abs/extra/sdl_pango/PKGBUILD +++ b/abs/extra/sdl_pango/PKGBUILD @@ -1,24 +1,33 @@ -# $Id: PKGBUILD 8769 2008-08-16 05:40:38Z eric $ -# +# $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=1 +pkgrel=4 pkgdesc="Pango SDL binding" arch=('i686' 'x86_64') url="http://sdlpango.sourceforge.net/" -license="" +license=('LGPL') 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') +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() { - _prefixname=SDL_Pango - cd $startdir/src/$_prefixname-$pkgver - patch -Np0 < $startdir/src/$_prefixname-$pkgver-API-adds.patch + 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 || return 1 - make DESTDIR=$startdir/pkg install + make +} + +package() { + cd $srcdir/SDL_Pango-$pkgver + make DESTDIR=$pkgdir install } |