PKGBUILDs/extra/sdl_perl/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
791 B
Bash

# $Id: PKGBUILD 52202 2009-09-16 14:21:56Z francois $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=sdl_perl
_realname=SDL_Perl
pkgver=2.2.2.15
pkgrel=1
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>=2.0.19' 'smpeg')
makedepends=('perl-yaml')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/${_realname}-v${pkgver}.tar.gz)
md5sums=('f2d57ad53ec9a9a564bb6b21127906ed')
build() {
cd ${srcdir}/${_realname}-v${pkgver}
# install module in vendor directories
perl Build.PL installdirs=vendor destdir=${pkgdir}
perl Build
perl Build install
}