blob: 8fcf1fc6fd98830c89936e2a3e137e1b9ce1a973 (
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
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-error
_realname=Error
pkgver=0.17023
pkgrel=0
pkgdesc="Perl module error/exception handling in an OO-ish way"
url="http://search.cpan.org/dist/Error/"
arch="noarch"
license="GPL PerlArtistic"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_realname-$pkgver.tar.gz"
_builddir="$srcdir"/$_realname-$pkgver
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="98524ffbd268013e00697a5826a83d37 Error-0.17023.tar.gz"
sha256sums="af48e19077d8837c6377d8a9ba2ce473c100caf5eeb7b53606c3f78a0e8b5d37 Error-0.17023.tar.gz"
sha512sums="478a18b4a9735612e1af0ba221a2c082f3522ffeb2d593e8f1bf963e5f9a4d67fc913de5bdf18d4255b1fe69f2d300fbb2a9f25ad5cf17f1b8e4932c765cc924 Error-0.17023.tar.gz"
|