archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-crypt-passwdmd5 / trunk / PKGBUILD
blob05a287dfb9d48229ca2035df9ee6a343902999e9
1 # Maintainer:
3 pkgname=perl-crypt-passwdmd5
4 pkgver=1.42
5 pkgrel=1
6 pkgdesc="Provides a crypt()-compatible interface to new MD5-based crypt()"
7 arch=('any')
8 url="https://search.cpan.org/dist/Crypt-PasswdMD5"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl')
11 provides=('perl-passwd-md5')
12 replaces=('perl-passwd-md5')
13 options=('!emptydirs')
14 source=(https://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-$pkgver.tgz)
15 sha512sums=('92b18cb50061ff0d017e26ebeb4ebf07199d7833518974c3f130d81a30f37a01cd299f4776bfa1e8cd1ca4e6e5adcd72d93ea4dcfed7a573084f0a9c7245eef8')
17 build() {
18   cd Crypt-PasswdMD5-$pkgver
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd Crypt-PasswdMD5-$pkgver
25   make test
28 package() {
29   cd Crypt-PasswdMD5-$pkgver
30   make DESTDIR="${pkgdir}" install