summaryrefslogtreecommitdiff
path: root/user/perl-www-form-urlencoded/APKBUILD
blob: ebb687d55a00fdbaa077995fa957994be43cc481 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-www-form-urlencoded
pkgver=0.26
pkgrel=0
pkgdesc="Perl library for URL-encoded HTTP forms"
url="https://metacpan.org/release/WWW-Form-UrlEncoded"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends=""
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/WWW-Form-UrlEncoded-$pkgver.tar.gz"
builddir="$srcdir/WWW-Form-UrlEncoded-$pkgver"

build() {
	perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor
	export BREAK_BACKWARD_COMPAT=YesPlease
	./Build
}

check() {
	./Build test
}

package() {
	./Build install destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="7980b42f53a7801fe02db30b87552ce4d5e7398413640a94d9abad2779085ebfc6208804ed66099161d8c3ba5e47ecb4bf8e8fa1f36f2e7297b864a25f3ac924  WWW-Form-UrlEncoded-0.26.tar.gz"