summaryrefslogtreecommitdiffstats
path: root/p5-date-manip/Pkgfile
blob: 90ba777dae86efd4fd69350bde0997b2c9fb3abc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: Perl date manip
# URL: http://search.cpan.org/~sbeck/Date-Manip-5.48/Manip.pod 
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=p5-date-manip
version=6.21
release=1
source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Date-Manip-$version.tar.gz)


build() {
	   cd Date-Manip-$version

   perl Makefile.PL
   make OPTIMIZE="$CFLAGS"
   make install DESTDIR=$PKG

   # Remove perlcrap
   find $PKG \
      -name .packlist -or \
      -name '*.bs' -or \
      -name autosplit.ix -or \
      -name perllocal.pod | xargs rm

   # Remove empty directories
   find $PKG -depth -empty -exec rm -rf {} \;

	chown -R root:root $PKG
       
}