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
8 pkgdesc='Use the Freedesktop.org base directory specification'
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')
20 cd File-BaseDir-$pkgver
21 perl Makefile.PL INSTALLDIRS=vendor
27 cd File-BaseDir-$pkgver
28 HOME="$srcdir" make test
32 cd File-BaseDir-$pkgver
33 make install DESTDIR="$pkgdir"