blob: adb4c21de10f5483807c28b4e3529b5a5aa9ecdf (
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
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-encode-eucjpascii
_pkgreal=Encode-EUCJPASCII
_author=NEZUMI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.03
pkgrel=0
pkgdesc="Perl mapping of EUC-JP to ASCII"
url="https://metacpan.org/pod/Encode::EUCJPASCII"
arch="all"
license="Artistic-1.0-Perl AND GPL-2.0+"
depends="perl"
makedepends="perl-dev"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-0.03.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="0d7a06e1f5eaa20451ef360ef78372cb0ecf0c9a525efed5db0b55b0fc98b47c87eff4f9be069bdd7be50156f8edfc0cb9a257e9efd5a33130cc745dca12b7d8 Encode-EUCJPASCII-0.03.tar.gz"
|