archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-file-listing / repos / extra-any / PKGBUILD
blob3b7c1237f06d3327930e83272032fb81d24f8ad8
1 # Maintainer:
3 pkgname=perl-file-listing
4 pkgver=6.14
5 pkgrel=2
6 pkgdesc="parse directory listing"
7 arch=('any')
8 url="https://search.cpan.org/dist/File-Listing"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl' 'perl-http-date')
11 options=('!emptydirs')
12 source=("https://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/File-Listing-${pkgver}.tar.gz")
13 sha512sums=('858339b15a455db570d15b02e801ab0e0afd47da71685002083cbcc1a0f89783fcad4e840e0381f186046ab2f355dc0f593dc8c9c0a2da0fc6f17a35265924ab')
15 build() {
16   cd File-Listing-${pkgver}
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd File-Listing-${pkgver}
23   make test
26 package() {
27   cd File-Listing-${pkgver}
28   make DESTDIR="$pkgdir" install