# Maintainer: Erich Eckner pkgname=perl-chemistry-elements pkgver=1.07 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=() checkdepends=('perl-test-pod') optdepends=() provides=() conflicts=() replaces=() backup=() options=() _distdir="Chemistry-Elements-${pkgver}" source=("http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_distdir}.tar.gz") sha512sums=('bfed7ab91c2554f01cb8923ac311dae8986fdbdbde35f6868aa59d3c1b9c10ac047e222b5473204fd4b464e3fc93ac7fb80a907b57ceeb9bea3afb1d7850445f') build() { cd ${_distdir} perl Makefile.PL make } check() { cd ${_distdir} make test } package() { cd ${_distdir} make DESTDIR="${pkgdir}" install }