blob: 817aad069eaf0aa629377d8d95dee7076362067b (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-text-vcard
_pkgreal=Text-vCard
pkgver=3.09
pkgrel=0
pkgdesc="Edit and create vCards (RFC 2426)"
url="http://search.cpan.org/dist/Text-vCard/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-uri perl-path-tiny perl-moo perl-text-vfile-asdata perl-unicode-linebreak"
cpanmakedepends=" perl-test-most perl-directory-scratch "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/L/LL/LLAP/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make && make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="d23c610e2159b7d4034275f2bfe27704 Text-vCard-3.09.tar.gz"
sha256sums="c1ff3b0b14a86d8146808bdc59d8d207f220120309ccf16decfb0dc236c144b0 Text-vCard-3.09.tar.gz"
sha512sums="fe28065bab454c5a41907c9e59c809b4de58335407adcfa502dcd4a0b5201ca39a45f7006521c3b4599b1daf9323b634c5925fbc29945411f45bccdc05263192 Text-vCard-3.09.tar.gz"
|