blob: 5a9e49ecb4ff85e3c0544895aeaf2d8866fc6248 (
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
39
40
41
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-locale-maketext-lexicon
pkgver=0.99
pkgrel=0
pkgdesc="Locale::Maketext::Lexicon perl module"
url="http://search.cpan.org/dist/Locale-Maketext-Lexicon/"
arch="noarch"
license="GPLv2 or Artistic"
depends="perl"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DR/DRTECH/Locale-Maketext-Lexicon-$pkgver.tar.gz"
_builddir="$srcdir"/Locale-Maketext-Lexicon-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make && make test || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="c88e75b607a424c046137555565cebb5 Locale-Maketext-Lexicon-0.99.tar.gz"
sha256sums="7f85b1afa0cc66f8ed33a28ac183f26a11f95cf103be2e365f1983c38b6a1c0f Locale-Maketext-Lexicon-0.99.tar.gz"
sha512sums="3289be7dd20e41c3a603460a4425be1fc28808e4a1951231dd05d3ef2e1c61988bdf39769849de7446c9750057d878bb21c71357eb22f979547bfee9fc49ebd0 Locale-Maketext-Lexicon-0.99.tar.gz"
|