milis/talimatname/genel/perl-timedate/talimat

24 lines
581 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Tarih biçimlendirme altprogramları
# URL: http://search.cpan.org/dist/TimeDate/
# Packager: milisarge
# Depends on: perl
name=perl-timedate
version=2.30
release=1
source=(
http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-$version.tar.gz)
build() {
cd TimeDate-$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
}