23 lines
636 B
Plaintext
23 lines
636 B
Plaintext
|
# Description: Simple DirectMedia Layer for Perl
|
||
|
# URL: http://sdl.perl.org/
|
||
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||
|
# Depends on: p5-alien-build p5-alien-sdl p5-tie-simple sdl_gfx sdl_image sdl_mixer sdl_net sdl_pango sdl_ttf
|
||
|
|
||
|
name=p5-sdl
|
||
|
## https://metacpan.org/release/SDL
|
||
|
_author=FROGGS
|
||
|
version=2.548
|
||
|
release=1
|
||
|
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/SDL-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd SDL-$version
|
||
|
|
||
|
perl Build.PL installdirs=vendor
|
||
|
perl Build
|
||
|
perl Build install destdir="$PKG"
|
||
|
|
||
|
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
|
||
|
find $PKG -depth -empty -delete
|
||
|
}
|