diff options
-rwxr-xr-x | perl-chemistry-elements/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/perl-chemistry-elements/PKGBUILD b/perl-chemistry-elements/PKGBUILD new file mode 100755 index 000000000..825ac4d2e --- /dev/null +++ b/perl-chemistry-elements/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +pkgname=perl-chemistry-elements +pkgver=1.062 +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=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +source=( + "http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Chemistry-Elements-${pkgver}.tar.gz" +) +sha256sums=( + '01fbad697ecb8204395427dbae76c23dafbe6dca6070731db3e09102cd33385b' +) + +build() { + + cd Chemistry-Elements-${pkgver} + + perl Makefile.PL + make + +} + +check() { + + cd Chemistry-Elements-${pkgver} + + make test + +} + +package() { + + cd Chemistry-Elements-${pkgver} + + make DESTDIR="${pkgdir}" install + +} |