summaryrefslogblamecommitdiff
path: root/user/perl-config-ini/APKBUILD
blob: 4eb0bf1fcd7d5675cac036ebd5b8760e7bb899a5 (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                       



                               
            



                                                  
                                       


                             

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-config-ini
_pkgreal=Config-INI
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.029
pkgrel=0
pkgdesc="Simple .ini file format handler for Perl"
url="https://metacpan.org/release/Config-INI"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-mixin-linewise"
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() {
	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="9f787640ada163f8bbdda687c0fdfeb86d749a06937e379cae3732e965b248e6de96e86eba8f86c755293916a0d571c2228c1f7c7a0e15cd0aa0b642269fb5fb  Config-INI-0.029.tar.gz"