summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-test-pod/PKGBUILD
blob: a901b02ef72da1b5d05675332faa2b8e01f980b7 (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
# 
# Contributor: Oliver Charles <oliver.g.charles@googlemail.com>
#

pkgname="perl-test-pod"
pkgver=1.26
pkgrel=1
pkgdesc="Translate Wiki formatted text to other formats"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~petdance/Test-Pod"
license="unknown"
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-$pkgver.tar.gz)
md5sums=('2f259135656ac4549b65a4f14f07b7c6')

build() {
    cd $startdir/src/Test-Pod-$pkgver
    PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
    make || return 1
    make DESTDIR="$pkgdir/" install || return 1

    find "$pkgdir" -name '.packlist' -delete
    find "$pkgdir" -name 'perllocal.pod' -delete
}