summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c5c82900eb2f15f4168f4ff0aed05538e1db1ea (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
32
33
34
35
36
37
38
# Maintainer: Yardena Cohen <yardenack at gmail dot com>

cpaname=PerlX-Assert
cpanauthor=TOBYINK
pkgname=perl-perlx-assert
pkgver=0.905
pkgrel=1
pkgdesc="Perl PerlX::Assert CPAN module"
arch=('any')
url="http://search.cpan.org/dist/${cpaname}/"
license=('unknown')
options=('!emptydirs')
depends=(
   'perl'
   'perl-devel-declare'
   'perl-devel-strictmode'
   'perl-exporter-tiny'
   'perl-keyword-simple'
   'perl-test-modern'
)
source=("http://www.cpan.org/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz")
sha256sums=('8cd67df35a31a85678aa81abdd58a654efd5ab8ca7742701cb54d60eb2c6e4f2')

build() {
	 cd "${srcdir}/${cpaname}-${pkgver}"
	 perl Makefile.PL
	 make
}

check() {
	 cd "${srcdir}/${cpaname}-${pkgver}"
	 make test
}

package () {
	 cd "${srcdir}/${cpaname}-${pkgver}"
	 make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
}