blob: ab63f2eb241367be2f17bcca7ffb5704234335fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id$
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Maintainer: kevin <kevin@archlinux.org>
pkgname=perl-yaml-syck
_realname=YAML-Syck
pkgver=1.17
pkgrel=1
pkgdesc="Fast, lightweight YAML loader and dumper"
arch=('i686' 'x86_64')
license=('custom')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/A/AV/AVAR/${_realname}-$pkgver.tar.gz)
md5sums=('f788529ad4b2c2fd037ccdfd5e7a88ab')
build() {
cd ${srcdir}/${_realname}-$pkgver
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor
make
make test
}
package() {
cd ${srcdir}/${_realname}-$pkgver
make install DESTDIR=${pkgdir}
# remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
# license.
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
|