summaryrefslogtreecommitdiff
path: root/perl-config-ini/PKGBUILD
blob: 0d6d20917f458f73883137c591f73a8175d45184 (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.029
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=('9f787640ada163f8bbdda687c0fdfeb86d749a06937e379cae3732e965b248e6de96e86eba8f86c755293916a0d571c2228c1f7c7a0e15cd0aa0b642269fb5fb')

build() {

    cd ${_distdir}

    perl Makefile.PL
    make

}

check() {

    cd ${_distdir}

    make test

}

package() {

    cd ${_distdir}

    make DESTDIR="${pkgdir}" install

}