summaryrefslogblamecommitdiff
path: root/system/perl-yaml-syck/APKBUILD
blob: cbf3a3688b83516d308226d0d6a9f79393e9a1d6 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                      
                                                                   

                      


                               
           
        
                                                  
                                            

             
              
                      
                          
                                                                                        

                                    
         
                                                                
                                                                 



            



                 



                                                                           
                                                                                                                                                                    
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-yaml-syck
_pkgreal=YAML-Syck
_author=TODDR
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.32
pkgrel=0
pkgdesc="Fast, lightweight YAML loader and dumper"
url="https://metacpan.org/release/YAML-Syck"
arch="all"
license="MIT"
depends="perl"
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() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

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

sha512sums="284d62f1fabdcca9fbdc57b732f5b9b2c2739020c620dbb66e84a89ea83e0a80580ec8fd8516a1c080dd9de9a817dbe357ee66041daa5103a8bf49c436355c99  YAML-Syck-1.32.tar.gz"