summaryrefslogtreecommitdiffstats
path: root/abs/extra/sdl_pango/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-26 15:15:52 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-26 15:15:52 (GMT)
commit53aa2e60eb10929d9be291c63717c5a03fec1a83 (patch)
tree596ef93095ac5599699c7deb693ed0363b0b05fb /abs/extra/sdl_pango/PKGBUILD
parent3aae0b194257bd24c501a23841b8347070b3cf52 (diff)
downloadlinhes_pkgbuild-53aa2e60eb10929d9be291c63717c5a03fec1a83.zip
linhes_pkgbuild-53aa2e60eb10929d9be291c63717c5a03fec1a83.tar.gz
linhes_pkgbuild-53aa2e60eb10929d9be291c63717c5a03fec1a83.tar.bz2
sdl_pango: 0.1.2
Diffstat (limited to 'abs/extra/sdl_pango/PKGBUILD')
-rw-r--r--abs/extra/sdl_pango/PKGBUILD31
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
}