[arch-commits] Commit in perl-file-homedir/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Apr 11 15:06:32 UTC 2019


    Date: Thursday, April 11, 2019 @ 15:06:31
  Author: felixonmars
Revision: 451115

archrelease: copy trunk to community-any

Added:
  perl-file-homedir/repos/community-any/
  perl-file-homedir/repos/community-any/PKGBUILD
    (from rev 451114, perl-file-homedir/trunk/PKGBUILD)

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

Copied: perl-file-homedir/repos/community-any/PKGBUILD (from rev 451114, perl-file-homedir/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-04-11 15:06:31 UTC (rev 451115)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-file-homedir
+pkgver=1.004
+pkgrel=1
+pkgdesc="Find your home and other directories on any platform"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/File-HomeDir"
+depends=('perl-file-which')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-$pkgver.tar.gz")
+sha512sums=('21671f6badb23fc7e89ef7507266a0b85b9bbf38897b24651f6a84795b5174dd4bfa43251231cbdb1566183e12b253e2504f1fe0f8e195c35d9b5e3d639aa334')
+
+build() {
+  cd File-HomeDir-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd File-HomeDir-$pkgver
+  make test
+}
+
+package() {
+  cd File-HomeDir-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list