Date: Friday, April 3, 2015 @ 09:56:16 Author: fyan Revision: 235367 archrelease: copy trunk to testing-any
Added: perl-file-basedir/repos/testing-any/ perl-file-basedir/repos/testing-any/PKGBUILD (from rev 235366, perl-file-basedir/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: perl-file-basedir/repos/testing-any/PKGBUILD (from rev 235366, perl-file-basedir/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2015-04-03 07:56:16 UTC (rev 235367) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: kevin <ke...@archlinux.org> +# Contributor: K. Piche <kpi...@rogers.com> + +pkgname=perl-file-basedir +_realname=File-BaseDir +pkgver=0.04 +pkgrel=1 +pkgdesc='Use the Freedesktop.org base directory specification' +arch=('any') +license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/dist/${_realname}/" +depends=('perl-ipc-system-simple' 'perl-file-which') +makedepends=('perl-module-build>0.4205') +checkdepends=('perl-test-pod' 'perl-test-pod-coverage') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/K/KI/KIMRYAN/${_realname}-$pkgver.tar.gz") +md5sums=('880e3d4c6b383a3b8c11a1cfe8f3c979') + +build() { + cd ${srcdir}/${_realname}-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd ${srcdir}/${_realname}-${pkgver} + make test +} + +package() { + cd ${srcdir}/${_realname}-${pkgver} + make install DESTDIR=${pkgdir} +}