aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-encode-hanextra/APKBUILD
blob: 4d0aa20d41689409fb7224df1148540c5c4888e1 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                      
        
                                         
                                                   






                                       
                                                                                  
                        
 
                                    
         
                      
                                                               
                                                                             


                         




                      
           
                      



                                                                           

                                                                                                                                                                         
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=perl-encode-hanextra
_pkgreal=Encode-HanExtra
pkgver=0.23
pkgrel=5
pkgdesc="Perl module for Encode-HanExtra"
url="https://metacpan.org/release/Encode-HanExtra/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/$_pkgreal-$pkgver.tar.gz
	perl-5.26.patch"

builddir="$srcdir/$_pkgreal-$pkgver"
build() {
	cd "$builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make && make test
}

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

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

sha512sums="218083b9b3b4517cfc714169479cba0689a3586d9abb24bcc79d3401d37dd9412cb4e878b6aad06676d5c4f0e03cc69dcaf2e5f48036e2da6f336508c381e462  Encode-HanExtra-0.23.tar.gz
91044f483f87951094ebbbb326165f31fe8e616b7189f45a97d4d65e60ad751d956bbf5425c3fe213e15e0c027209edb348a398755ef8fb23499493161fae955  perl-5.26.patch"