archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-list-moreutils / repos / extra-any / PKGBUILD
blob6d46d39724996a9228062e0c2cc6dc7c2c718724
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Justin "juster" Davis <jrcd83@gmail.com>
3 # Generator : pbjam 0.01
5 pkgname=perl-list-moreutils
6 pkgver=0.430
7 pkgrel=2
8 pkgdesc="Provide the stuff missing in List::Util"
9 arch=('any')
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
12 depends=('perl-exporter-tiny' 'perl-list-moreutils-xs')
13 url=https://search.cpan.org/dist/List-MoreUtils
14 source=("https://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/List-MoreUtils-${pkgver}.tar.gz")
15 sha512sums=('bc9ff033c12251a6f0899a96da0ec8fc314ddb8d6cdf18c37fe1fdcfc38a4c95ed6f8e006bb124e77d07241ae6754f429bc2041f7772b4acfce9378a21283469')
17 build() {
18   cd "${srcdir}/List-MoreUtils-${pkgver}"
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd "${srcdir}/List-MoreUtils-${pkgver}"
25   make test
28 package() {
29   cd "${srcdir}/List-MoreUtils-${pkgver}"
30   make DESTDIR="$pkgdir" install
33 # Local Variables:
34 # mode: shell-script
35 # sh-basic-offset: 2
36 # End:
37 # vim:set ts=2 sw=2 et: