aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-xml-writer/APKBUILD
blob: b2c04934d8a3347a4a0eec738ecd4034d63fe9e7 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-xml-writer
_realname=XML-Writer
pkgver=0.625
pkgrel=0
pkgdesc="Perl extension for writing XML documents"
url="http://search.cpan.org/~josephw/XML-Writer-0.625/"
arch="noarch"
license="PerlArtistic"
depends="perl"
depends_dev=""
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/J/JO/JOSEPHW/$_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 || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="b9c2420c243c6a36ce45a008740fcede  XML-Writer-0.625.tar.gz"
sha256sums="e080522c6ce050397af482665f3965a93c5d16f5e81d93f6e2fe98084ed15fbe  XML-Writer-0.625.tar.gz"
sha512sums="30ad348e7f1423ce82dc0709e767d4ae384ad6e76f6444c8a12d97b1dc9c2b39e2c5bec43779bc35891942fa75f852cd26e8831dd6b5cfb9c72bc8512ca55923  XML-Writer-0.625.tar.gz"