summaryrefslogtreecommitdiff
path: root/system/perl-encode-jisx0213/APKBUILD
blob: 809a06b25e238e2eac2bdd59197ab1014f0bf107 (plain) (blame)
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: Sheila Aman <sheila@vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-encode-jisx0213
_pkgreal=Encode-JISX0213
_author=NEZUMI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.04
pkgrel=0
pkgdesc="Perl support for JIS X 0213 encodings"
url="https://metacpan.org/pod/Encode::JISX0213"
arch="all"
license="Artistic-1.0-Perl AND GPL-2.0+"
depends="perl-encode-iso2022"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="79a2d0639c0f9134ab7ff053b62cac950751cacb7ba91b7b6ff5c12787900c0ee7dc4037ff5819d11b1efc0bbb871926763930f6d5d40073c07a671cab44365a  Encode-JISX0213-0.04.tar.gz"