PKGBUILDs/community/perl-file-chdir/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
748 B
Bash

# Maintainer: Charles Mauch <cmauch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-file-chdir
pkgver=0.1002
pkgrel=1
pkgdesc="a more sensible way to change directories "
arch=('i686' 'x86_64')
depends=('perl')
url="http://search.cpan.org/dist/File-chdir"
license=('GPL' 'PerlArtistic')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-chdir-$pkgver.tar.gz)
build() {
cd $startdir/src/File-chdir-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
md5sums=('f510e8791e976cf517b010adc753ce1d')