summaryrefslogblamecommitdiff
path: root/system/perl-uri/APKBUILD
blob: 1f3cbec5c45ca601a5101081e4785bcd7759fc30 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                         
                                                                   
                



                               
           

                                           
                                      
             
                                       
              
              
                              
                          
                                           

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                              
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-uri
_pkgreal=URI
_author=OALDERS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.76
pkgrel=0
pkgdesc="Perl library for URI manipulation"
url="https://metacpan.org/release/URI"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
makedepends=""
checkdepends="perl-test-needs"
subpackages="$pkgname-doc"
provides="perl-uri-escape=$pkgver-r$pkgrel"
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="1fcb02692bdf5f223c2878569615d153b3c4c5adc04c33aee23f3f015e08b4895b03536ef3a8c7cb7a334c2faa056e5e46c805d56d810704cba63d96136e0a83  URI-1.76.tar.gz"