blob: ae3a43a1172e864942f69f5ebcc09a20642cc456 (
plain)
1 # Description: perl date manip.
2 # URL: http://search.cpan.org/~sbeck/Date-Manip-6.24/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Han Boetes han at mijncomputer dot nl
5
6 name=p5-date-manip
7 version=6.31
8 release=1
9 source=(http://www.cpan.org/modules/by-module/Date/Date-Manip-$version.tar.gz)
10
11 build() {
12 cd Date-Manip-$version
13
14 perl Makefile.PL
15 make OPTIMIZE="$CFLAGS"
16 make install DESTDIR=$PKG
17
18 # Remove perlcrap
19 find $PKG -type f \( \
20 -name '.packlist' -o \
21 -name '*.bs' -o \
22 -name 'autosplit.ix' -o \
23 -name 'perllocal.pod' \) -delete
24
25 # Remove empty directories
26 find $PKG -depth -empty -delete
27 }
|