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

                                                           
                



                               
           

                                           
                                      
             
                                       
              
              
                                                                 
                          
                                           

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                              
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-uri
_pkgreal=URI
_author=OALDERS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=5.17
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-fatal perl-test-needs perl-test-warnings"
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="52171e16137bfaa77ab31007245a561614c5c42336473022ebbe370b395d3052d3de80da0b42754ca2e0b09f47520ef96afdbdb72fe5c25cab87441eda03ec12  URI-5.17.tar.gz"