summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-module-runtime/PKGBUILD
blob: bc49dc6ac639653a4a24e33b148fef97b0eb8c0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-module-runtime
pkgver=0.014
pkgrel=4
pkgdesc="runtime module handling"
arch=('any')
url="http://search.cpan.org/dist/Module-Runtime/"
license=('GPL' 'PerlArtistic')
depends=('perl' 'perl-module-build')
options=(!emptydirs)
source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Module-Runtime-$pkgver.tar.gz")
md5sums=('a6597bc25536a30476f0d75b64d35734')

build() {
  cd "$srcdir"/Module-Runtime-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "$srcdir"/Module-Runtime-$pkgver
  make install DESTDIR="${pkgdir}"
  find "$pkgdir" -name perllocal.pod -delete
  find "$pkgdir" -name .packlist -delete
}