summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 153b2fa05000b5d9fc454940eff567c0163edf69 (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
# Maintainer: Yardena Cohen <yardenack at gmail dot com>

cpaname=Moops
cpanauthor=TOBYINK
pkgname=perl-moops
pkgver=0.034
pkgrel=1
pkgdesc="Perl Moops CPAN module"
arch=('any')
url="http://search.cpan.org/dist/${cpaname}/"
license=('unknown')
options=('!emptydirs')
depends=(
   'perl'
   'perl-exporter-tiny'
   'perl-import-into'
   'perl-kavorka'
   'perl-keyword-simple'
   'perl-lexical-accessor'
   'perl-module-runtime'
   'perl-moo'
   'perl-moox-late'
   'perl-moosex-mungehas'
   'perl-namespace-autoclean'
   'perl-parse-keyword'
   'perl-perlx-assert'
   'perl-true'
   'perl-try-tiny'
   'perl-variable-magic'
)
source=("http://www.cpan.org/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz")
sha256sums=('f1de78dd3bb4d7f284b248dc4abbcb81014de3992cad0ab84ff268894f6ae854')

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