summaryrefslogtreecommitdiff
path: root/perl-chemistry-elements/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-05 13:23:41 +0200
committerErich Eckner <git@eckner.net>2016-04-05 13:23:41 +0200
commitf5826a237a965723c562b5742b37769b4ada5932 (patch)
tree38604d68902246eb142408f48928e49907d1343d /perl-chemistry-elements/PKGBUILD
parent6ccdf9ed16c45fffdbca69941d621dcec2307812 (diff)
downloadarchlinuxewe-f5826a237a965723c562b5742b37769b4ada5932.tar.xz
perl-chemistry-elements neu
Diffstat (limited to 'perl-chemistry-elements/PKGBUILD')
-rwxr-xr-xperl-chemistry-elements/PKGBUILD49
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
+
+}