archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / perl-sub-exporter-progressive / trunk / PKGBUILD
blob3c64da6715959a4f9ab4bc01dc39e101b85448e4
1 # Maintainer: Jonathan Steel <jsteel@aur.archlinux.org>
2 # Contributor: Alan Young <harleypig@gmail.com>
4 pkgname=perl-sub-exporter-progressive
5 pkgver=0.001013
6 pkgrel=8
7 pkgdesc="Only use Sub::Exporter if you need it"
8 arch=('any')
9 url="https://search.cpan.org/dist/Sub-Exporter-Progressive"
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
12 source=(https://search.cpan.org/CPAN/authors/id/F/FR/FREW/Sub-Exporter-Progressive-$pkgver.tar.gz)
13 sha256sums=('d535b7954d64da1ac1305b1fadf98202769e3599376854b2ced90c382beac056')
15 build() {
16   cd "$srcdir"/Sub-Exporter-Progressive-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd "$srcdir"/Sub-Exporter-Progressive-$pkgver
23   make test
26 package() {
27   cd "$srcdir"/Sub-Exporter-Progressive-$pkgver
28   make DESTDIR="$pkgdir" install