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-encode-jis2k/APKBUILD
Hugo Osvaldo Barrera cdd3ce01ff */*: drop redundant CARGO_PROFILE_* variables, collapse newlines
The cargo vars are now set in abuild.conf by default.

Newlines done with:

    find . -name APKBUILD -exec sed -i '/^$/N;/^\n$/D' {} \;

See also: https://stackoverflow.com/a/4522043
2023-01-07 02:42:07 +01:00

42 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-encode-jis2k
_pkgreal=Encode-JIS2K
pkgver=0.03
pkgrel=9
pkgdesc="Perl module for Encode-JIS2K"
url="https://metacpan.org/release/Encode-JIS2K/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
source="https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor
else
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
fi
}
build() {
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="93d73a84e394faf8411d158ead0bc398ff1935ba14e35c64992d9fc8c2aa4ce1a71b5f46dbb1a765d3b160b19a9216bec68d42c8be1940d271dde418a62db4ec Encode-JIS2K-0.03.tar.gz"