blob: 32a44f3c4a1c0de486096caccb1e2f7979181aab (
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: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-text-quoted
pkgver=2.10
pkgrel=0
pkgdesc="Text::Quoted perl module"
url="https://metacpan.org/release/Text-Quoted"
arch="noarch"
license="GPL-2.0 or Artistic"
depends="perl perl-text-autoformat"
makedepends="perl-dev perl-module-install"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BP/BPS/Text-Quoted-$pkgver.tar.gz"
builddir="$srcdir/Text-Quoted-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="11f76028beec9b233205d264283cc2c5dcae82553d88ac80141f2d314c9cd054b37bfd363cd6c6addc50cfdc001790bb8506975f78a10b6c5901e9216151029a Text-Quoted-2.10.tar.gz"
|