mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:37:17 +08:00
28 lines
898 B
Bash
28 lines
898 B
Bash
# $Id: PKGBUILD 64426 2010-01-20 08:40:43Z eric $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
|
|
|
|
pkgname=sdl_perl
|
|
_realname=SDL_Perl
|
|
pkgver=2.2.6
|
|
pkgrel=3
|
|
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
|
|
}
|