archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-common-sense / trunk / PKGBUILD
blob97092dc902b4dc988b3e2fbf56af2743bdbceac0
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-common-sense
4 pkgver=3.75
5 pkgrel=4
6 pkgdesc="Implements some sane defaults for Perl programs"
7 arch=('any')
8 url="https://search.cpan.org/dist/common-sense"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl')
11 options=('!emptydirs')
12 source=("https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-$pkgver.tar.gz")
13 sha512sums=('cb6034d9ff721a4122e0215db8ad5279ec4b189c3364593d427d70a1e84a1583a0e1447e276aa9a4fcaeb2f9d47a465a5bc4c0f842c803d3ddf91755311f4af4')
15 build() {
16   cd common-sense-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd common-sense-$pkgver
23   make test
26 package() {
27   cd common-sense-$pkgver
28   make DESTDIR="$pkgdir" install