mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/perl-yaml-syck to 1.27-1 (assuming that will be what it is when they actually update it)
This commit is contained in:
parent
68d74a1a76
commit
8a7e592e05
1 changed files with 37 additions and 0 deletions
37
extra/PKGBUILD
Normal file
37
extra/PKGBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# $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.27
|
||||
pkgrel=1
|
||||
pkgdesc="Fast, lightweight YAML loader and dumper"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('custom')
|
||||
url="http://search.cpan.org/dist/${_realname}/"
|
||||
depends=('perl')
|
||||
options=('!emptydirs')
|
||||
source=(http://www.cpan.org/authors/id/T/TO/TODDR/${_realname}-$pkgver.tar.gz)
|
||||
md5sums=('8920091e68a078cfa9c42041e5759162')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_realname}-$pkgver"
|
||||
|
||||
# install module in vendor directories.
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${_realname}-$pkgver"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_realname}-$pkgver"
|
||||
make install DESTDIR="${pkgdir}"
|
||||
|
||||
# license.
|
||||
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||
}
|
Loading…
Reference in a new issue