33 lines
956 B
Bash
33 lines
956 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=perl-file-listing
|
|
pkgver=6.04
|
|
pkgrel=3
|
|
pkgdesc="parse directory listing"
|
|
arch=('any')
|
|
url="https://search.cpan.org/dist/File-Listing"
|
|
license=('GPL-1')
|
|
depends=('perl' 'perl-http-date')
|
|
options=('!emptydirs')
|
|
source=("https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/File-Listing-${pkgver}.tar.gz"
|
|
'COPYING')
|
|
sha512sums=('a84198bc82003daaf88ed23218e34a7a1552dcd2855a9563e9609ce5df167a8295043501534c31614854fc8dd9c04b4af27b4d7320112c613914f94c86c2eeb2'
|
|
'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9')
|
|
|
|
build() {
|
|
cd File-Listing-${pkgver}
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd File-Listing-${pkgver}
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd File-Listing-${pkgver}
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 ${srcdir}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
|
|
}
|