pkgname=perl-authen-oath _realname=Authen-OATH pkgver=2.0.1 pkgrel=2 pkgdesc="Perl/CPAN module Authen::OATH " url="http://search.cpan.org/~sifukurt/Authen-OATH/" license=(GPL) arch=('any') depends=('perl-digest-hmac' 'perl-type-tiny') source=("http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/Authen-OATH-2.0.1.tar.gz") md5sums=('111532b8899c686429584aa9ad1d9660') build() { cd "$srcdir/${_realname}-${pkgver}" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$srcdir/${_realname}-${pkgver}" make install DESTDIR="$pkgdir" }