summaryrefslogtreecommitdiffstats
path: root/abs/extra/sdl_perl
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/sdl_perl
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/extra/sdl_perl')
-rw-r--r--abs/extra/sdl_perl/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/sdl_perl/PKGBUILD b/abs/extra/sdl_perl/PKGBUILD
new file mode 100644
index 0000000..5824cd8
--- /dev/null
+++ b/abs/extra/sdl_perl/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: dorphell <dorphell@archlinux.org>
+# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
+
+pkgname=sdl_perl
+_realname=SDL_Perl
+pkgver=2.1.3
+pkgrel=2
+pkgdesc="A Perl wrapper for SDL"
+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')
+makedepends=('perl-yaml')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/D/DG/DGOEHRIG/${_realname}-${pkgver}.tar.gz)
+md5sums=('6ce26e1b710ce52def4ec22637cd5176')
+
+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
+}