blob: e638a7a1232663c32f69abe3096cd94b06797936 (
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
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-sharedfork
pkgver=0.24
pkgrel=0
pkgdesc="Test::SharedFork perl module"
url="http://search.cpan.org/dist/Test-SharedFork/"
arch="noarch"
license="GPLv2 or Artistic"
depends="perl perl-test-requires"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-SharedFork-$pkgver.tar.gz"
_builddir="$srcdir"/Test-SharedFork-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
perl Build.PL installdirs=vendor || return 1
./Build && ./Build test
}
package() {
cd "$_builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="6cdefc061e885e7ce56ee0c3a1ede9a3 Test-SharedFork-0.24.tar.gz"
sha256sums="5442a98245aaf46d947fb1ac99e8a22bc2a4eb66be72caa5cb428d2ce4a48384 Test-SharedFork-0.24.tar.gz"
sha512sums="6c41d42f053222a13d5816a1f93c1488dbe78069d02e7a7daece6710e3391e2cd378cb6ddfa9e9549541a6feffab2da03561dbbaa17f7efecf3b8882d9f2bd1b Test-SharedFork-0.24.tar.gz"
|