db-move: moved gnome-calendar from [testing] to [extra] (x86_64)
[arch-packages.git] / perl-io-socket-inet6 / trunk / PKGBUILD
blobf683e52d80c9670a57ddbe6bc67ef65ed1123b3b
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
2 # Generator  : CPANPLUS::Dist::Arch 1.18
4 pkgname='perl-io-socket-inet6'
5 pkgver=2.73
6 pkgrel=2
7 pkgdesc="Object interface for AF_INET|AF_INET6 domain sockets"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl-socket6>=0.12')
12 makedepends=()
13 url='https://search.cpan.org/dist/IO-Socket-INET6'
14 source=("https://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-$pkgver.tar.gz")
15 md5sums=('f77a9173ea49d928530d6a2df33990f7')
16 sha512sums=('8d71b1fcb78b4338eb1973a2f9d1ccc539d6a6d83190b818df8ebcc43e978d7404eefedb51a7d6e0a64aa02375503325e8cd8723c7fec6dfdb277519b5a16b4b')
17 _distdir="IO-Socket-INET6-$pkgver"
19 build() {
20   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
21       PERL_AUTOINSTALL=--skipdeps                            \
22       PERL_MM_OPT="INSTALLDIRS=vendor"     \
23       PERL_MB_OPT="--installdirs vendor" \
24       MODULEBUILDRC=/dev/null
26     cd "$_distdir"
27     /usr/bin/perl Makefile.PL
28     make
29   )
32 check() {
33   cd "$_distdir"
34   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
35     make test
36   )
39 package() {
40   cd "$_distdir"
41   make DESTDIR="$pkgdir" install
42   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
45 # Local Variables:
46 # mode: shell-script
47 # sh-basic-offset: 2
48 # End:
49 # vim:set ts=2 sw=2 et: