2007-01-01 19:25:28 +10:00
|
|
|
# Description: Perl Terminal Readkey Library.
|
2020-02-01 21:33:11 +11:00
|
|
|
# URL: https://metacpan.org/release/TermReadKey
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2007-01-01 19:25:28 +10:00
|
|
|
|
|
|
|
name=p5-term-readkey
|
2020-02-01 21:33:11 +11:00
|
|
|
version=2.38
|
2007-01-01 19:25:28 +10:00
|
|
|
release=1
|
2018-10-10 22:35:13 +11:00
|
|
|
source=(https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/TermReadKey-$version.tar.gz)
|
2007-01-01 19:25:28 +10:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd TermReadKey-$version
|
|
|
|
|
|
|
|
perl Makefile.PL
|
|
|
|
make OPTIMIZE="$CFLAGS"
|
2008-03-18 21:37:23 +11:00
|
|
|
make DESTDIR=$PKG install
|
2007-01-01 19:25:28 +10:00
|
|
|
|
|
|
|
# Remove perlcrap
|
2008-07-14 00:14:30 +10:00
|
|
|
find $PKG -type f \( \
|
|
|
|
-name '.packlist' -o \
|
|
|
|
-name '*.bs' -o \
|
|
|
|
-name 'autosplit.ix' -o \
|
|
|
|
-name 'perllocal.pod' \) -delete
|
2007-01-01 19:25:28 +10:00
|
|
|
|
2008-07-14 00:14:30 +10:00
|
|
|
# Remove empty directories
|
|
|
|
find $PKG -depth -empty -delete
|
2007-01-01 19:25:28 +10:00
|
|
|
}
|
2008-03-18 21:37:23 +11:00
|
|
|
|