updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-time-local / PKGBUILD
blob418db69483fd2ed39214fd7e28b7082af674f1f6
1 # Contributor: Tilo Brueckner  blueperil at gmx de
3 pkgname=perl-time-local
4 _realname=Time-Local
5 pkgver=1.2000
6 pkgrel=1
7 pkgdesc="Efficiently compute time from local and GMT time"
8 arch=('any')
9 url="http://search.cpan.org/dist/${_realname}/"
10 license=('PerlArtistic')
11 depends=('perl>=5.10.0')
12 options=(!emptydirs)
13 source=(http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/${_realname}-${pkgver}.tar.gz)
14 sha256sums=('418873d3692d3c758ec83f4b1c51390a867acf71370f4db421963788bb20a640')
16 build() {
17     cd ${startdir}/src/${_realname}-${pkgver}
18     # install module in vendor directories.
19     perl Makefile.PL INSTALLDIRS=vendor || return 1
20     make  || return 1
23 package() {
24     cd ${startdir}/src/${_realname}-${pkgver}
25     make install DESTDIR=${startdir}/pkg || return 1