OCaml 4.14.0 rebuild
[arch-packages.git] / perl-file-basedir / trunk / PKGBUILD
blob8c07100f51b87d794b4c4caf704633bd15872cb0
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: kevin <kevin@archlinux.org>
3 # Contributor: K. Piche <kpiche@rogers.com>
5 pkgname=perl-file-basedir
6 pkgver=0.09
7 pkgrel=2
8 pkgdesc='Use the Freedesktop.org base directory specification'
9 arch=('any')
10 license=('GPL' 'PerlArtistic')
11 url="https://search.cpan.org/dist/File-BaseDir/"
12 depends=('perl-ipc-system-simple')
13 makedepends=('perl-module-build>0.4205')
14 checkdepends=('perl-test-pod' 'perl-test-pod-coverage' 'perl-file-which' 'xdg-user-dirs')
15 options=('!emptydirs')
16 source=("https://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/File-BaseDir-$pkgver.tar.gz")
17 sha512sums=('07b07f43bce392beda6ac10729925c3b6ad850f0af5485c3f540b72353a1e877e7e9b76580057197cf68864086f1a3d1f9459cfcf142f16772f48125426d72db')
19 build() {
20   cd File-BaseDir-$pkgver
21   perl Makefile.PL INSTALLDIRS=vendor
22   make
25 check() {
26   mkdir .config
27   cd File-BaseDir-$pkgver
28   HOME="$srcdir" make test
31 package() {
32   cd File-BaseDir-$pkgver
33   make install DESTDIR="$pkgdir"