summaryrefslogtreecommitdiff
path: root/perl-config-ini/PKGBUILD
blob: 615f4e74a7340b91860ecdd18fcf1448ce88273d (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.026
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.34'
  'perl<5.35'
  'perl-carp'
  'perl-mixin-linewise>=0.105')
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=('5c362d1465064240bb11146226e6606e40a28f94bdc34f68e955a0ba66a8ef53d288d9d51974f8dad0b3a53701f80b927eeedfee8c048bec44d6b628f6260c08')

build() {

    cd ${_distdir}

    perl Makefile.PL
    make

}

check() {

    cd ${_distdir}

    make test

}

package() {

    cd ${_distdir}

    make DESTDIR="${pkgdir}" install

}