mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
804 B
Bash
26 lines
804 B
Bash
|
# Maintainer François Charette <firmicus ατ gmx δοτ net>
|
||
|
|
||
|
pkgname=perl-cpanplus-pacman
|
||
|
pkgver=0.3.5
|
||
|
pkgrel=1
|
||
|
pkgdesc="CPANPLUS::Dist plugin and script to create Arch Linux packages of CPAN modules"
|
||
|
url="http://bbs.archlinux.org/viewtopic.php?t=21048"
|
||
|
depends=('perl>=5.10.0' 'perl-yaml')
|
||
|
install=cpan4pacman.install
|
||
|
arch=('i686' 'x86_64')
|
||
|
license=('GPL')
|
||
|
options=('!emptydirs')
|
||
|
source=(http://ankabut.net/archlinux/src/CPANPLUS-pacman-$pkgver.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/CPANPLUS-pacman-$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 perllocal.pod -delete
|
||
|
find ${startdir}/pkg -name .packlist -delete
|
||
|
}
|
||
|
md5sums=('fe4201a4ca650568fa43894452d0e1a2')
|