mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added extra/perl-clone
This commit is contained in:
parent
b50c77a738
commit
9a811214b6
1 changed files with 30 additions and 0 deletions
30
extra/perl-clone/PKGBUILD
Normal file
30
extra/perl-clone/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Thomas Dziedzic < gostrc at gmail >
|
||||
# Contributor: François Charette <firmicus ατ gmx δοτ net>
|
||||
# Contributor: Alex Dioso <adioso->gmail*com>
|
||||
|
||||
# remove when bumped upstream
|
||||
|
||||
pkgname=perl-clone
|
||||
pkgver=0.37
|
||||
pkgrel=2
|
||||
pkgdesc='Recursive copy of nested objects.'
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://search.cpan.org/~RDF/Clone'
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl>=5.10.0')
|
||||
options=('!emptydirs')
|
||||
source=("http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-$pkgver.tar.gz")
|
||||
md5sums=('b0c9d1bcf9e85ab2fbc0b436cfc801f5')
|
||||
|
||||
build() {
|
||||
cd Clone-${pkgver}
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd Clone-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
find ${pkgdir} -name '.packlist' -delete
|
||||
find ${pkgdir} -name '*.pod' -delete
|
||||
}
|
Loading…
Reference in a new issue