summaryrefslogtreecommitdiff
path: root/p5-term-readkey/Pkgfile
blob: 880aba90e2fd27c348f8604e863b121001d16c7c (plain)
    1 # Description: Perl Terminal Readkey Library.
    2 # URL: http://search.cpan.org/~jstowe/TermReadKey/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Packager: Stoyan Zhekov zhware at hotpop dot com
    5 # Depends on: 
    6 
    7 name=p5-term-readkey
    8 version=2.33
    9 release=1
   10 source=(http://www.cpan.org/modules/by-module/Term/TermReadKey-$version.tar.gz)
   11 
   12 build() {
   13    cd TermReadKey-$version
   14 
   15    perl Makefile.PL
   16    make OPTIMIZE="$CFLAGS"
   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 }

Generated by cgit