summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl-module-refresh/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/perl-module-refresh/PKGBUILD b/perl-module-refresh/PKGBUILD
new file mode 100644
index 000000000..f08cb2418
--- /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
+}