summaryrefslogtreecommitdiffstats
path: root/abs/extra/sdl_perl/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-05 05:44:25 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-05 05:44:25 (GMT)
commitc8e38bea3d91a3832d7e596cdf30a157c36e9c91 (patch)
tree824d620983616014cf97eb75310b75f3f499d0bb /abs/extra/sdl_perl/PKGBUILD
parent4d635e6283da3ae83ddc5b62938df56d589d3fac (diff)
downloadlinhes_pkgbuild-c8e38bea3d91a3832d7e596cdf30a157c36e9c91.zip
linhes_pkgbuild-c8e38bea3d91a3832d7e596cdf30a157c36e9c91.tar.gz
linhes_pkgbuild-c8e38bea3d91a3832d7e596cdf30a157c36e9c91.tar.bz2
sdl_perl:Bumped to latest.
Diffstat (limited to 'abs/extra/sdl_perl/PKGBUILD')
-rw-r--r--abs/extra/sdl_perl/PKGBUILD35
1 files 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 <dorphell@archlinux.org>
+# $Id: PKGBUILD 85950 2010-07-22 19:09:33Z kevin $
+# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
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
}