diff options
author | Erich Eckner <git@eckner.net> | 2016-04-21 09:16:33 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-21 09:16:33 +0200 |
commit | 445d0b51c04068690639700e108f8fe96b497d20 (patch) | |
tree | 35fc5f32255d5c6f7681968b2437d312af43de6f /perl-module-refresh/PKGBUILD | |
parent | d3abf5ce4ba04e75daac1965b4b45f166c7f0c2f (diff) | |
download | archlinuxewe.git.save-445d0b51c04068690639700e108f8fe96b497d20.tar.xz |
perl-module-refresh neu
Diffstat (limited to 'perl-module-refresh/PKGBUILD')
-rw-r--r-- | perl-module-refresh/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/perl-module-refresh/PKGBUILD b/perl-module-refresh/PKGBUILD new file mode 100644 index 00000000..f08cb241 --- /dev/null +++ b/perl-module-refresh/PKGBUILD @@ -0,0 +1,35 @@ +# CPAN Name : Module::Refresh +# Contributor: Daenyth +# Contributor: Anton Leontiev <bunder /at/ t-25.ru> +# Generator : CPANPLUS::Dist::Arch 1.25 +# Maintainer : Erich Eckner <arch at eckner dot net> + +pkgname=perl-module-refresh +pkgver=0.17 +pkgrel=1 +pkgdesc="Perl module to refresh %INC files when updated on disk" +arch=("any") +license=("GPL" "PerlArtistic") +url="http://search.cpan.org/dist/Module-Refresh" +options=(!emptydirs) +depends=("perl") +checkdepends=("perl-path-class") # 'perl' provides 'perl-test-simple' and 'perl-file-temp' +source=("http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/Module-Refresh-${pkgver}.tar.gz") +sha512sums=('48bbcf14d5c6f13217b41c9a4683fd5ff492d3d33f8d6d50e89eae8a6336f306358e0070ecf1617d68c6eb9f91caaec6e1048e09b741d3fa0a19f6d38a75f17f') + +build() { + cd "$srcdir/Module-Refresh-${pkgver}" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir/Module-Refresh-${pkgver}" + make test +} + +package() { + cd "$srcdir/Module-Refresh-${pkgver}" + make install DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} |