summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-file-listing/PKGBUILD
blob: 3b8a04f56ef6926e74d8287320db558a1a327722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id$
# Maintainer:

pkgname=perl-file-listing
pkgver=6.04
pkgrel=4
pkgdesc="parse directory listing"
arch=('any')
url="http://search.cpan.org/dist/File-Listing"
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-http-date')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/File-Listing-${pkgver}.tar.gz")
sha1sums=('02a41fe1b91f3f198712965360192f31d6d8d74e')

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
}