# Maintainer: Erich Eckner pkgname=perl-chemistry-elements pkgver=1.072 pkgrel='4' pkgdesc="Perl extension for working with Chemical Elements" arch=('any') url="https://github.com/briandfoy/chemistry-elements" license=('GPL' 'PerlArtistic') groups=() depends=( 'perl>=5.28' 'perl<5.29' 'perl>=5.10.0') makedepends=( 'perl-extutils-makemaker>=6.64' 'perl-pathtools' 'perl-test-simple>=0.94') checkdepends=('perl-test-pod') replaces=() backup=() options=() _distdir="Chemistry-Elements-${pkgver}" source=("http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_distdir}.tar.gz") sha512sums=('44896e71705ffc157fadd0c30ab44e16c0f979575ce45f635bba12a9ce1c4ddc92bc9821908cc0841f19fa5706c57ba6ca303ef89e97bebd309348d0476fa707') build() { cd ${_distdir} perl Makefile.PL make } check() { cd ${_distdir} make test } package() { cd ${_distdir} make DESTDIR="${pkgdir}" install }