[arch-commits] Commit in perl-file-basedir/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 10:43:05 UTC 2021


    Date: Monday, May 24, 2021 @ 10:43:05
  Author: foutrelis
Revision: 416189

archrelease: copy trunk to staging-any

Added:
  perl-file-basedir/repos/staging-any/
  perl-file-basedir/repos/staging-any/PKGBUILD
    (from rev 416187, perl-file-basedir/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: perl-file-basedir/repos/staging-any/PKGBUILD (from rev 416187, perl-file-basedir/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 10:43:05 UTC (rev 416189)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: K. Piche <kpiche at rogers.com>
+
+pkgname=perl-file-basedir
+pkgver=0.08
+pkgrel=6
+pkgdesc='Use the Freedesktop.org base directory specification'
+arch=('any')
+license=('GPL' 'PerlArtistic')
+url="https://search.cpan.org/dist/File-BaseDir/"
+depends=('perl-ipc-system-simple')
+makedepends=('perl-module-build>0.4205')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage' 'perl-file-which' 'xdg-user-dirs')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/K/KI/KIMRYAN/File-BaseDir-$pkgver.tar.gz")
+sha512sums=('6b44edca34906c34d574933c21c0e3a1a236a431a3ac12caeabcc2638688dfe1c02efc9a1e75a2c2cd522de0dca00df0620cd262c184ec938cc97766d1121f99')
+
+build() {
+  cd File-BaseDir-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  mkdir .config
+  cd File-BaseDir-$pkgver
+  HOME="$srcdir" make test
+}
+
+package() {
+  cd File-BaseDir-$pkgver
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list