2017-04-10 15:35:47 +02:00
|
|
|
# Description: Yuvarlak veya kesin İngilizce sürelerin ifadesi
|
|
|
|
# URL: http://search.cpan.org/dist/Time-Duration
|
|
|
|
# Packager: milisarge
|
2017-04-13 19:15:35 +02:00
|
|
|
# Depends on: perl-test-pod perl-test-pod-coverage
|
2017-04-10 15:35:47 +02:00
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
name=perl-time-duration
|
|
|
|
version=1.1
|
|
|
|
release=1
|
|
|
|
|
|
|
|
source=(
|
|
|
|
http://www.cpan.org/authors/id/A/AV/AVIF/Time-Duration-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Time-Duration-$version
|
|
|
|
perl Makefile.PL
|
|
|
|
make OPTIMIZE="$CFLAGS" || exit 1
|
|
|
|
make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
|
|
|
|
|
|
|
|
# Remove perllocal.pod and .packlist if present in the package
|
|
|
|
for i in perllocal.pod .packlist; do
|
|
|
|
find $PKG -name "$i" -exec rm -rf {} \;
|
|
|
|
done
|
|
|
|
}
|