blob: d415adc82fb4680d2460620713ab041d575e3362 (
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
|
# Maintainer: Brian Bidulock <bidulock at openss7 dot org>
pkgname=perl-geo-coordinates-vandh
pkgver=1.11
pkgrel=3
pkgdesc='Perl/CPAN Module Geo::Coordinates::VandH'
arch=('any')
url='http://search.cpan.org/dist/Geo-Coordinates-VandH'
license=('GPL' 'PerlArtistic')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/P/PT/PTIMMINS/Geo-Coordinates-VandH-$pkgver.tar.gz")
depends=()
md5sums=('65a0d6fedb0c04a6560128945f76918e')
build() {
cd "$srcdir/Geo-Coordinates-VandH-$pkgver"
# install module in vendor directories
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/Geo-Coordinates-VandH-$pkgver"
make install DESTDIR="$pkgdir/"
#remove perllocal.pod and .packlist
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}
|