summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-inc-latest/PKGBUILD
blob: 61b042bfa5a8927cad250887830a26ae0844c75d (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: Felix Yan <felixonmars@archlinux.org>

pkgname=perl-inc-latest
pkgver=0.500
pkgrel=4
pkgdesc="Build, test, and install Perl modules"
arch=('any')
url="https://github.com/dagolden/inc-latest"
license=('Apache')
depends=('perl')
checkdepends=('perl-cpan-meta')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/inc-latest-$pkgver.tar.gz")
sha512sums=('b312d1dfce963322796bc0127f0ecd82c12baacf9e5df40d9acc093221edd80f3696ce6d9f185ed24b21983147363d1d0ff3e273b8b5ce7559a6f16983a1385c')

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

check() {
  cd inc-latest-$pkgver
  make test
}

package() {
  cd inc-latest-$pkgver
  make install DESTDIR="$pkgdir"
}