summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/sdl_perl/PKGBUILD
blob: 82552e83bdb1ea4b85091fb8531d477b1195c334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $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.2.6
pkgrel=4
pkgdesc="A Perl wrapper for SDL"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://sdl.perl.org"
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/K/KT/KTHAKORE/${_realname}-v${pkgver}.tar.gz)
md5sums=('445950ca7b9991f34ec792bbac8386b6')

build() {
  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
}