blob: 3f80db457139a9b5b67c928e507509921960c57d (
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
31
32
33
34
35
|
# $Id: PKGBUILD 131686 2011-07-13 14:46:13Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: mezcal <fila at pruda dot com>
pkgname=perl-time-hires
pkgver=1.9724
pkgrel=1
pkgdesc="Perl module: high resolution time, sleep, and alarm"
arch=('i686' 'x86_64' 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/Time-HiRes/"
depends=('perl')
options=(!emptydirs)
source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Time-HiRes-${pkgver}.tar.gz")
md5sums=('6467b001de9ba5c01785ebbb8ea247cb')
build() {
cd "${srcdir}/Time-HiRes-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${srcdir}/Time-HiRes-${pkgver}"
make test
}
package() {
cd "${srcdir}/Time-HiRes-${pkgver}"
make install DESTDIR="${pkgdir}"
}
|