perl-file-basedir: import as chromium's new dependency

This commit is contained in:
Jeff Huang 2016-10-27 07:43:20 +01:00
parent 337491b6c7
commit 9d14512d2d

View File

@ -0,0 +1,29 @@
# Contributions from Arch:
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: kevin <kevin@archlinux.org>
# Contributor: K. Piche <kpiche@rogers.com>
pkgname=perl-file-basedir
_realname=File-BaseDir
pkgver=0.07
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')
makedepends=('perl-module-build>0.4205')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/K/KI/KIMRYAN/${_realname}-$pkgver.tar.gz")
md5sums=('5d10401970d209049c8491d2906c3e13')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd ${srcdir}/${_realname}-${pkgver}
make install DESTDIR=${pkgdir}
}