35 lines
873 B
Bash
35 lines
873 B
Bash
# Maintainer: Andrea Dalle Vacche adallevacche@bloomberg.net
|
|
|
|
_realname=Exporter-Tiny
|
|
pkgname=perl-${_realname}
|
|
pkgver=1.006002
|
|
pkgrel=1
|
|
pkgdesc="List::MoreUtils provides some trivial but commonly needed functionality on lists which is not going to go into List::Util"
|
|
arch=('any')
|
|
license=('GPL' 'PerlArtistic')
|
|
url="https://metacpan.org/dist/Exporter-Tiny"
|
|
msys2_references=(
|
|
'purl: pkg:cpan/TOBYINK/Exporter-Tiny'
|
|
)
|
|
depends=('perl')
|
|
groups=('perl-modules')
|
|
options=('!emptydirs')
|
|
source=("https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${_realname}-${pkgver}.tar.gz")
|
|
sha256sums=('6f295e2cbffb1dbc15bdb9dadc341671c1e0cd2bdf2d312b17526273c322638d')
|
|
|
|
build() {
|
|
cd ${_realname}-${pkgver}
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${_realname}-${pkgver}
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd ${_realname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|