summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-sub-install/PKGBUILD
blob: 9fbb71af18bd6ea762705e63bf5dcda8c3605043 (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
28
29
30
31
# $Id$
# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org>
# Contributor: Justin Davis (juster) <jrcd83@gmail.com>

pkgname=perl-sub-install
pkgver=0.928
pkgrel=3
pkgdesc="Install subroutines into packages easily"
arch=('any')
url="https://metacpan.org/release/Sub-Install"
license=('PerlArtistic' 'GPL')
depends=('perl')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Install-$pkgver.tar.gz)
sha1sums=('868c6cb4c0232d9ac3f865f232359f82012be8d6')

build() {
  cd Sub-Install-$pkgver
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd Sub-Install-$pkgver
  make test
}

package() {
  cd Sub-Install-$pkgver
  make DESTDIR="$pkgdir" install
}