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

Felix Yan felixonmars at archlinux.org
Tue May 19 08:50:41 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:50:41
  Author: felixonmars
Revision: 386491

archrelease: copy trunk to staging-any

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

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

Copied: perl-file-basedir/repos/staging-any/PKGBUILD (from rev 386490, perl-file-basedir/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-19 08:50:41 UTC (rev 386491)
@@ -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=4
+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