summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/perl_modules/perl-module-scandeps/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-module-scandeps/PKGBUILD b/abs/core/perl_modules/perl-module-scandeps/PKGBUILD
new file mode 100644
index 0000000..1c193e3
--- /dev/null
+++ b/abs/core/perl_modules/perl-module-scandeps/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: xRemaLx <anton.komolov@gmail.com>
+
+pkgname=perl-module-scandeps
+_pkgname=Module-ScanDeps
+pkgver=1.24
+pkgrel=2
+pkgdesc="Scan file prerequisites"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-test-requires')
+url="http://search.cpan.org/dist/Module-ScanDeps"
+source=("http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/Module-ScanDeps-$pkgver.tar.gz")
+sha512sums=('7f3d9821aa863d8ebc78fb5fb3c7172ce133169ec54ed91b90e05ba50654b4bd0282b3a760adfc8b6bd553dda4116dbf51972bb2af94b59f6f04daeba996e889')
+
+build() {
+ cd Module-ScanDeps-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd Module-ScanDeps-$pkgver
+ make test
+}
+
+package() {
+ cd Module-ScanDeps-$pkgver
+ make DESTDIR="$pkgdir" install
+}