diff --git a/p5-sdl1-perl/Pkgfile b/p5-sdl1-perl/Pkgfile index b3657e8be..4bdaeeb2f 100644 --- a/p5-sdl1-perl/Pkgfile +++ b/p5-sdl1-perl/Pkgfile @@ -7,7 +7,7 @@ name=p5-sdl1-perl version=1.20.0 # note do not edit to 1.20.3 as this will break frozen-bubble -release=2 +release=3 source=(http://zarb.org/~gc/t/SDL_perl-$version.tar.gz) build() { @@ -17,10 +17,11 @@ build() { make DESTDIR=$PKG install # Remove perlcrap - find $PKG \ - -name '.packlist' -delete -or \ - -name '*.bs' -delete -or \ - -name 'perllocal.pod' -delete + find $PKG -type f \( \ + -name '.packlist' -o \ + -name '*.bs' -o \ + -name 'autosplit.ix' -o \ + -name 'perllocal.pod' \) -delete # Remove empty directories find $PKG -depth -empty -delete