blob: ce9be1b36beb4c816c98a91bd3ab9e1fb5b82ede (
plain)
1 # Description: SDL perl extension.
2 # URL: http://search.cpan.org/~dgoehrig/SDL_Perl-2.1.3/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Younes Hafri, ycrux at club-internet dot fr
5 # Depends on: sdl_image sdl_net sdl_gfx sdl_mixer sdl_ttf glu
6
7 name=p5-sdl1-perl
8 version=1.20.0
9 # note do not edit to 1.20.3 as this will break frozen-bubble
10 release=3
11 source=(http://zarb.org/~gc/t/SDL_perl-$version.tar.gz)
12
13 build() {
14 cd SDL_perl-$version
15 ./configure --prefix=/usr
16 make
17 make DESTDIR=$PKG install
18
19 # Remove perlcrap
20 find $PKG -type f \( \
21 -name '.packlist' -o \
22 -name '*.bs' -o \
23 -name 'autosplit.ix' -o \
24 -name 'perllocal.pod' \) -delete
25
26 # Remove empty directories
27 find $PKG -depth -empty -delete
28 }
|