summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 124a05f23e49521b7c1a71c2f4954be10cbd6ef5 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Maintainer: Yardena Cohen <yardenack at gmail dot com>

cpaname=Kavorka
cpanauthor=TOBYINK
pkgname=perl-kavorka
pkgver=0.039
pkgrel=1
pkgdesc="Perl Kavorka CPAN module"
arch=('any')
url="http://search.cpan.org/dist/${cpaname}/"
license=('unknown')
options=('!emptydirs')
checkdepends=(
    'perl-moosex-types'
)
depends=(
    'perl'
    'perl-class-tiny'
    'perl-data-alias'
    'perl-datetime'
    'perl-exporter-tiny'
    'perl-match-simple'
    'perl-module-runtime'
    'perl-moo'
    'perl-moose'
    'perl-mouse'
    'perl-namespace-sweep'
    'perl-padwalker'
    'perl-parse-keyword'
    'perl-return-type'
    'perl-test-requires'
    'perl-test-fatal'
    'perl-type-tiny'
)
source=("http://www.cpan.org/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz")
sha256sums=('8ff1609ef63c278e9de571d24c68fa8ecba64a52dc76ae5de206c06f030ffa2f')

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}"
}