summaryrefslogtreecommitdiff
path: root/perl-config-ini/PKGBUILD
blob: 321145a4b6757aac47d90742d0da64bdbd2c6fea (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
50
51
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=perl-config-ini
pkgver=0.028
pkgrel=1
pkgdesc="Perl extension for config ini's"
arch=('any')
url="https://github.com/rjbs/Config-INI"
license=('GPL' 'PerlArtistic')
groups=()
depends=(
  'perl>=5.36'
  'perl<5.37'
  'perl-carp'
  'perl-mixin-linewise>=0.110')
makedepends=(
  'perl-extutils-makemaker>=6.78'
  'perl-io'
  'perl-pathtools'
  'perl-test-simple>=0.96')
checkdepends=()
replaces=()
backup=()
options=()
_distdir="Config-INI-${pkgver}"
source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_distdir}.tar.gz")
sha512sums=('9fa4692fd935f38c44f59156c50abcaa68dc6f291aca58bbf0a6b2fdf7345124e64ecc3c216126803248c50e85391f5cfee9cb14fc8fba24a2ebe0e9d8220f40')

build() {

    cd ${_distdir}

    perl Makefile.PL
    make

}

check() {

    cd ${_distdir}

    make test

}

package() {

    cd ${_distdir}

    make DESTDIR="${pkgdir}" install

}