mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
937 B
Bash
30 lines
937 B
Bash
# $Id: PKGBUILD 51193 2009-09-05 18:42:46Z francois $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: Charles Mauch <cmauch@gmail.com>
|
|
|
|
pkgname=perl-yaml
|
|
_realname=YAML
|
|
pkgver=0.70
|
|
pkgrel=1
|
|
pkgdesc="Perl/CPAN Module YAML : YAML Aint Markup Language tm"
|
|
arch=(any)
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://www.cpan.org/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('425973520e8fd84beb6cb95de29f3534')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
|
|
# install module in vendor directories.
|
|
#PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${pkgdir} -name perllocal.pod -delete
|
|
find ${pkgdir} -name .packlist -delete
|
|
}
|