summaryrefslogtreecommitdiff
path: root/perl-chemistry-elements/PKGBUILD
blob: 9cc5c8823cd4b065a5295dcc91d714b0cf74cc3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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=('perl-test-pod')
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

}