summaryrefslogblamecommitdiff
path: root/system/perl-digest-hmac/APKBUILD
blob: d36bb1541f4221cda13c52778af8b688de8b4b69 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                          
                        
                    
                

                               

           
                                                              
                                              

                                           

                          
                          

                                                                                        

         




                                                                 



                 




                                                   
                                                                                                                                                                      
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-digest-hmac
_pkgreal=Digest-HMAC
_author=ARODLAND
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.04
pkgrel=0
pkgdesc="Keyed-Hashing for Message Authentication Perl module"
url="https://metacpan.org/release/Digest-HMAC"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl-digest-sha1"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

sha512sums="d30b62e60bfa9f6c0f0c058e190938f13a08a70a816771a0641226c24045cb6dbd622756f1f88593fd3690442a45636bdcaf35457e9dfea6de5f8a342a538a6d  Digest-HMAC-1.04.tar.gz"