archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-time-human / trunk / PKGBUILD
blob4687c13a26976fcb991f90a96dac42f4acef8495
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Charles Mauch <cmauch@gmail.com>
4 pkgname=perl-time-human
5 pkgver=1.03
6 pkgrel=13
7 pkgdesc="Perl/CPAN Module Time::Human"
8 arch=("any")
9 url="https://search.cpan.org/dist/Time-Human"
10 license=("GPL" "PerlArtistic")
11 source=("https://www.cpan.org/authors/id/J/JH/JHOBLITT/Time-Human-$pkgver.tar.gz")
12 sha256sums=('90e9812b89eb2f5773b3c0872a9b8bfb61fda3c6a4570d1a6610771926d7f976')
14 build() {
15   cd "$srcdir"/Time-Human-$pkgver
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 package() {
21   cd "$srcdir"/Time-Human-$pkgver
22   make install DESTDIR="$pkgdir"
23   find "$pkgdir" -name '.packlist' -delete
24   find "$pkgdir" -name '*.pod' -delete