mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
23 lines
748 B
Bash
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')
|