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