# Maintainer: Erich Eckner pkgname=perl-chemistry-elements pkgver=1.075 pkgrel=3 pkgdesc="Perl extension for working with Chemical Elements" arch=('any') url="https://github.com/briandfoy/chemistry-elements" license=('GPL' 'PerlArtistic') groups=() depends=( 'perl>=5.36' 'perl<5.37' 'perl<5.35') makedepends=( 'perl-extutils-makemaker>=6.64' 'perl-pathtools' 'perl-test-simple>=1') 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=('fb310ed3b8d2185da06487b777b5a912175628ddc0d803a9e9225ab308aad87586e4986868da7c0c3f8314fb10b63a9f7cb6ae0fdc354c13d5515112fd08f3d2') build() { cd ${_distdir} perl Makefile.PL make } check() { cd ${_distdir} make test } package() { cd ${_distdir} make DESTDIR="${pkgdir}" install }