upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-list-compare / trunk / PKGBUILD
blobf8bcf249a987cb6b33c578c5b6f0c531e0fbaf80
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Simon Perry <aur [at] sanxion [dot] net>
3 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
5 pkgname=perl-list-compare
6 _pkgname=List-Compare
7 pkgver=0.55
8 pkgrel=1
9 pkgdesc="Compare elements of two or more lists"
10 arch=('any')
11 url="https://metacpan.org/release/List-Compare"
12 license=('GPL' 'PerlArtistic')
13 depends=('perl')
14 makedepends=('perl-capture-tiny')
15 options=('!emptydirs')
16 source=(https://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/${_pkgname}-$pkgver.tar.gz) 
17 sha256sums=('cc719479836579d52b02bc328ed80a98f679df043a99b5710ab2c191669eb837')
19 build() {
20   cd $_pkgname-$pkgver
22   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
23   make
26 check() {
27   cd $_pkgname-$pkgver
28   make test
31 package() {
32   cd $_pkgname-$pkgver
34   make DESTDIR="$pkgdir" install
36   find "$pkgdir" -name perllocal.pod -delete
37   find "$pkgdir" -name .packlist -delete