1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/perl-text-quoted/APKBUILD

31 lines
882 B
Text

# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-text-quoted
pkgver=2.10
pkgrel=1
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-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() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="11f76028beec9b233205d264283cc2c5dcae82553d88ac80141f2d314c9cd054b37bfd363cd6c6addc50cfdc001790bb8506975f78a10b6c5901e9216151029a Text-Quoted-2.10.tar.gz"