[arch-commits] Commit in perl-file-homedir/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 09:21:07 UTC 2019
Date: Saturday, May 25, 2019 @ 09:21:05
Author: felixonmars
Revision: 470115
archrelease: copy trunk to community-staging-any
Added:
perl-file-homedir/repos/community-staging-any/
perl-file-homedir/repos/community-staging-any/PKGBUILD
(from rev 470114, perl-file-homedir/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: perl-file-homedir/repos/community-staging-any/PKGBUILD (from rev 470114, perl-file-homedir/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 09:21:05 UTC (rev 470115)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-file-homedir
+pkgver=1.004
+pkgrel=2
+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