aboutsummaryrefslogblamecommitdiffstats
path: root/community/perl-encode-eucjpascii/APKBUILD
blob: 9ba7c67c108a9cd8406f6bee9e56b5f23743ee8a (plain) (tree)
1
2
3
4
5
6
7





                                                           
        







                                                    
                                                                                    
 


                                    
                       


                                
                                                
            
                                                                         




                      





                      



                      
                                      


                                                                           
                                                                                                                                                                            
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-encode-eucjpascii
_pkgreal=Encode-EUCJPASCII
pkgver=0.03
pkgrel=3
pkgdesc="Perl module for Encode-EUCJPASCII"
url="http://search.cpan.org/dist/Encode-EUCJPASCII/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
source="http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	default_prepare

	cd "$builddir"
	if [ -e Build.PL ]; then
		perl Build.PL installdirs=vendor
	else
		PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	fi
}

build() {
	cd "$builddir"
	make
}

check() {
        cd "$builddir"
        make test
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="0d7a06e1f5eaa20451ef360ef78372cb0ecf0c9a525efed5db0b55b0fc98b47c87eff4f9be069bdd7be50156f8edfc0cb9a257e9efd5a33130cc745dca12b7d8  Encode-EUCJPASCII-0.03.tar.gz"