aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-locale-maketext-fuzzy/APKBUILD
blob: 39eb649cf9ec464e7d9132b3e4e58c19fd87505d (plain)
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
32
33
34
35
36
37
38
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-locale-maketext-fuzzy
pkgver=0.11
pkgrel=1
pkgdesc="Locale::Maketext::Fuzzy perl module"
url="http://search.cpan.org/dist/Locale-Maketext-Fuzzy/"
arch="noarch"
license="GPLv2 or Artistic"
depends="perl"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Locale-Maketext-Fuzzy-$pkgver.tar.gz
	Locale-Maketext-Fuzzy-0.11-Fix-building-on-Perl-without-dot-in-INC.patch
	"

builddir="$srcdir"/Locale-Maketext-Fuzzy-$pkgver

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}

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

sha512sums="81a199c120a812604e106f083a6380dd15d61afd81ac5299d1a0d70b5f44743184234d3fc7c9c0c420a3fa0c1caf3e55d1427441cfec6df979291b67836d3c98  Locale-Maketext-Fuzzy-0.11.tar.gz
07472faeb675790541e902c7e3b85e2524a16c41b585b029aa00a427985389a67e3b6adb8d80b1126db0c7de0a01bf99f59201d802c5ead4827dba1f3c248c35  Locale-Maketext-Fuzzy-0.11-Fix-building-on-Perl-without-dot-in-INC.patch"