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