blob: 8253ff249fb923c833a07d02d12c90ca33e65f1a (
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 160559 2012-06-02 10:28:27Z bluewind $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: mezcal <fila at pruda dot com>
pkgname=perl-time-hires
pkgver=1.9725
pkgrel=2
pkgdesc="Perl module: high resolution time, sleep, and alarm"
arch=('i686' 'x86_64')
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=('cb1108c076d26f3d2fed0bb91313135a')
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}"
}
|