blob: 6447e6fb64711d1ec255067fe07ad52f3ebf3e36 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-xml-twig
_pkgreal=XML-Twig
pkgver=3.49
pkgrel=0
pkgdesc="XML, The Perl Way"
url="http://search.cpan.org/dist/XML-Twig/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-xml-parser"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="afb5786e15cfe7823add6756382e7df7 XML-Twig-3.49.tar.gz"
sha256sums="3e0def8a7477fefa8c27fabf11899a459c8b793909182d016ba26749e9354e01 XML-Twig-3.49.tar.gz"
sha512sums="162c07f912062723f225e9620cf18a8a8ad1282abeab6c981c9acb9f638f6fbc70476811533c7c739e861e0cce4ccbc7f44ce0cbe8a9b6b4947e60cffacce23c XML-Twig-3.49.tar.gz"
|