From c8e38bea3d91a3832d7e596cdf30a157c36e9c91 Mon Sep 17 00:00:00 2001 From: Cecil Date: Mon, 4 Jul 2011 22:44:25 -0700 Subject: sdl_perl:Bumped to latest. --- abs/extra/sdl_perl/PKGBUILD | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/abs/extra/sdl_perl/PKGBUILD b/abs/extra/sdl_perl/PKGBUILD index 5824cd8..82552e8 100644 --- a/abs/extra/sdl_perl/PKGBUILD +++ b/abs/extra/sdl_perl/PKGBUILD @@ -1,32 +1,27 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: dorphell +# $Id: PKGBUILD 85950 2010-07-22 19:09:33Z kevin $ +# Maintainer: Allan McRae # Contributor: Sarah Hay pkgname=sdl_perl _realname=SDL_Perl -pkgver=2.1.3 -pkgrel=2 +pkgver=2.2.6 +pkgrel=4 pkgdesc="A Perl wrapper for SDL" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('LGPL') url="http://sdl.perl.org" -depends=('perl>=5.10.0' 'sdl_net' 'sdl_ttf' 'sdl_image' 'sdl_mixer' 'mesa' -'sdl_gfx' 'smpeg') +depends=('perl>=5.10.1' 'sdl_net' 'sdl_ttf' 'sdl_image>=1.2.8' 'sdl_mixer>=1.2.10' + 'mesa' 'sdl_gfx>=2.0.20' 'smpeg') makedepends=('perl-yaml') options=(!emptydirs) -source=(http://search.cpan.org/CPAN/authors/id/D/DG/DGOEHRIG/${_realname}-${pkgver}.tar.gz) -md5sums=('6ce26e1b710ce52def4ec22637cd5176') +source=(http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/${_realname}-v${pkgver}.tar.gz) +md5sums=('445950ca7b9991f34ec792bbac8386b6') build() { - cd ${startdir}/src/${_realname}-${pkgver} - # install module in vendor directories. - perl Build.PL installdirs=vendor destdir=${startdir}/pkg \ - --config man1ext=1p --config man3ext=3pm - perl Build - perl Build install - - # Fix bad location of libraries. - cd ${startdir}/pkg/usr/lib/perl5/vendor_perl - mv -f auto/src/SDL* auto - rmdir auto/src + cd "${srcdir}/${_realname}-v${pkgver}" + # install module in vendor directories + perl Build.PL installdirs=vendor destdir="${pkgdir}" \ + --config man1ext=1p --config man3ext=3pm || return 1 + perl Build || return 1 + perl Build install || return 1 } -- cgit v0.12