1
0
forked from ports/contrib

p5-term-readkey: clean Pkgfile

This commit is contained in:
Danny Rawlins 2008-07-14 00:14:30 +10:00
parent 2a104380be
commit c3ecd5c557

View File

@ -2,7 +2,7 @@
# URL: http://search.cpan.org/~jstowe/TermReadKey-2.30/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Stoyan Zhekov zhware at hotpop dot com
# Depends on: perl
# Depends on: perl
name=p5-term-readkey
version=2.30
@ -17,13 +17,13 @@ build() {
make DESTDIR=$PKG install
# Remove perlcrap
find $PKG \( \
-name '.packlist' -or \
-name '*.bs' -or \
-name 'autosplit.ix' -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 -exec rm -rf {} \;
# Remove empty directories
find $PKG -depth -empty -delete
}