# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> setvar pkgname = 'perl-test-sharedfork' setvar pkgver = '0.35' setvar pkgrel = '0' setvar pkgdesc = ""Test::SharedFork perl module"" setvar url = ""http://search.cpan.org/dist/Test-SharedFork/"" setvar arch = ""noarch"" setvar license = ""GPLv2 or Artistic"" setvar depends = ""perl perl-test-requires"" setvar makedepends = ""perl-dev"" setvar install = """" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-SharedFork-$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/Test-SharedFork-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor make || return 1 } proc package { cd $_builddir make install DESTDIR=$pkgdir || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar md5sums = ""3101aea2e3ae41d48fd8874414430cef Test-SharedFork-0.35.tar.gz"" setvar sha256sums = ""2932e865610e80758f764c586757ef8e11db1284d958e25e4b7a85098414c59f Test-SharedFork-0.35.tar.gz"" setvar sha512sums = ""e5948dfb34cfaf35a2fb2783c726f1cea2ae2f4bbdc4cbb912f83c877422ceabb3e0323c8c669b3c3a08e6d2a12106309528f0f674657001e6aeb3cb3c1dfd9f Test-SharedFork-0.35.tar.gz""