mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
714 B
Bash
22 lines
714 B
Bash
# Contributor: Francois Charette <firmicus@gmx.net>
|
|
|
|
pkgname=perl-time-duration
|
|
pkgver=1.06
|
|
pkgrel=3
|
|
pkgdesc="rounded or exact English expression of durations "
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/Time-Duration"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl')
|
|
options=('!emptydirs')
|
|
source=(http://www.cpan.org/authors/id/A/AV/AVIF/Time-Duration-$pkgver.tar.gz)
|
|
md5sums=('d65108e0e4e8ffb38e28d532f8ddcd12')
|
|
|
|
build() {
|
|
cd $startdir/src/Time-Duration-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=$startdir/pkg || return 1
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|