diff options
author | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2016-03-08 15:58:01 +0900 |
---|---|---|
committer | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2016-03-08 15:58:01 +0900 |
commit | 231c0caf9f6ba99ae47dbf7d1113539cdd114c18 (patch) | |
tree | 3d7e1c3ce421b5ba8b2f685fd307969055b13467 /p5-cpan-distnameinfo | |
parent | c4202e816b5be941474a9fd16c2a359c3f41776f (diff) | |
download | contrib-231c0caf9f6ba99ae47dbf7d1113539cdd114c18.tar.gz contrib-231c0caf9f6ba99ae47dbf7d1113539cdd114c18.tar.xz |
p5-cpan-distnameinfo: initial import
Diffstat (limited to 'p5-cpan-distnameinfo')
-rw-r--r-- | p5-cpan-distnameinfo/.footprint | 15 | ||||
-rw-r--r-- | p5-cpan-distnameinfo/.md5sum | 1 | ||||
-rw-r--r-- | p5-cpan-distnameinfo/Pkgfile | 20 |
3 files changed, 36 insertions, 0 deletions
diff --git a/p5-cpan-distnameinfo/.footprint b/p5-cpan-distnameinfo/.footprint new file mode 100644 index 000000000..094c0959d --- /dev/null +++ b/p5-cpan-distnameinfo/.footprint @@ -0,0 +1,15 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/perl5/ +drwxr-xr-x root/root usr/lib/perl5/5.22/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/CPAN/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.22/CPAN/DistnameInfo.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/linux-thread-multi/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/linux-thread-multi/auto/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/linux-thread-multi/auto/CPAN/ +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ +-r--r--r-- root/root usr/share/man/man3/CPAN::DistnameInfo.3pm.gz diff --git a/p5-cpan-distnameinfo/.md5sum b/p5-cpan-distnameinfo/.md5sum new file mode 100644 index 000000000..f51278737 --- /dev/null +++ b/p5-cpan-distnameinfo/.md5sum @@ -0,0 +1 @@ +06bc803c0e4fb7735ddc7282163f1cc3 CPAN-DistnameInfo-0.12.tar.gz diff --git a/p5-cpan-distnameinfo/Pkgfile b/p5-cpan-distnameinfo/Pkgfile new file mode 100644 index 000000000..8ca186cea --- /dev/null +++ b/p5-cpan-distnameinfo/Pkgfile @@ -0,0 +1,20 @@ +# Description: Extract distribution name and version from a distribution filename +# URL: http://github.com/gbarr/CPAN-DistnameInfo +# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve +# Depends on: perl + +name=p5-cpan-distnameinfo +version=0.12 +release=1 +source=(http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/CPAN-DistnameInfo-0.12.tar.gz) + +build(){ + cd CPAN-DistnameInfo-$version + + perl Makefile.PL + make OPTIMIZE="$CFLAGS" DESTDIR="$PKG" install + + find "$PKG" -depth \ + -type f \( -name .packlist -o -name \*.bs -o -name autosplit.ix -o -name perllocal.pod \) -delete , \ + -type d -empty -exec rmdir {} + +} |