Created
March 22, 2010 22:36
-
-
Save juster/340623 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CPAN Name : Modern-Perl | |
[% WRAPPER wrapper.tt %] | |
build() { | |
DIST_DIR="${srcdir}/[% distdir %]" | |
export PERL_MM_USE_DEFAULT=1 | |
{ cd "$DIST_DIR" && | |
[% IF is_makemaker %] | |
perl Makefile.PL INSTALLDIRS=vendor && | |
make && | |
[% IF skiptest %]#[% END %]make test && | |
make DESTDIR="$pkgdir" install; | |
[% END %] | |
[% IF is_modulebuild %] | |
perl Build.PL --installdirs=vendor --destdir="$pkgdir" && | |
perl Build && | |
[% IF skiptest %]#[% END %]perl Build test && | |
perl Build install; | |
[% END %] | |
} || return 1; | |
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete | |
} | |
[% END %] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: [% packager %] | |
# Generator : CPANPLUS::Dist::Arch [% version %] | |
pkgname='[% pkgname %]' | |
pkgver='[% pkgver %]' | |
pkgrel='[% pkgrel %]' | |
pkgdesc="[% pkgdesc %]" | |
arch=('i686' 'x86_64') | |
license=('PerlArtistic' 'GPL') | |
options=('!emptydirs') | |
depends=([% depends %]) | |
url='[% url %]' | |
source=('[% source %]') | |
md5sums=('[% md5sums %]') | |
[% content %] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment