36 lines
954 B
Bash

# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Florian Pritz <bluewind@xinu.at>
pkgname=perl-module-pluggable
pkgver=6.3
pkgrel=1
pkgdesc='automatically give your module the ability to have plugins'
arch=(any)
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='https://metacpan.org/release/Module-Pluggable'
source=("https://search.cpan.org/CPAN/authors/id/S/SI/SIMONW/Module-Pluggable-$pkgver.tar.gz")
md5sums=('442bb8838a2b7053aa276a41233b0607')
sha512sums=('6ea3ffe30dcbc73300ded186d8237435d539056f90790834cc53d73f1e01397dc8935c892891bf7320a4c92be34ddf3a1412fca0f2451ec0058a964a9da58fd9')
_ddir="Module-Pluggable-$pkgver"
build() {
cd "$srcdir/$_ddir"
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$srcdir/$_ddir"
make test
}
package() {
cd "$srcdir/$_ddir"
make install DESTDIR="$pkgdir"
}
# vim:set ts=2 sw=2 et: