summaryrefslogtreecommitdiff
path: root/perl-config-ini/PKGBUILD
blob: 1e130f72a65658de45125e458021e61ecfbacb6c (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.027
pkgrel=2
pkgdesc="Perl extension for config ini's"
arch=('any')
url="https://github.com/rjbs/Config-INI"
license=('GPL' 'PerlArtistic')
groups=()
depends=(
  'perl>=5.34'
  'perl<5.35'
  '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=('c0a7d363550cac186b639555e63ac27d613cb2e63d57786aabe63dd65bcb0e2043c3bf80f820bfd975d7111d14567af466e82ed35f9cc2294bfe78ef2a519516')

build() {

    cd ${_distdir}

    perl Makefile.PL
    make

}

check() {

    cd ${_distdir}

    make test

}

package() {

    cd ${_distdir}

    make DESTDIR="${pkgdir}" install

}