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

cpaname=Keyword-Simple
cpanauthor=MAUKE
pkgname=perl-keyword-simple
pkgver=0.03
pkgrel=1
pkgdesc="Perl Keyword-Simple CPAN module"
arch=('any')
url="http://search.cpan.org/dist/${cpaname}/"
license=('unknown')
options=('!emptydirs')
depends=('perl' 'perl-b-hooks-endofscope')
source=("http://www.cpan.org/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz")
sha256sums=('3e0f75e33c8c2ccc82e89d74660bebe4f74ef5330ab3042d9243337061ef6ce8')

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