[arch-commits] Commit in perl-file-basedir/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 29 11:29:32 UTC 2022
Date: Sunday, May 29, 2022 @ 11:29:32
Author: felixonmars
Revision: 446891
archrelease: copy trunk to staging-any
Added:
perl-file-basedir/repos/staging-any/
perl-file-basedir/repos/staging-any/PKGBUILD
(from rev 446890, perl-file-basedir/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: perl-file-basedir/repos/staging-any/PKGBUILD (from rev 446890, perl-file-basedir/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2022-05-29 11:29:32 UTC (rev 446891)
@@ -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.09
+pkgrel=2
+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/P/PL/PLICEASE/File-BaseDir-$pkgver.tar.gz")
+sha512sums=('07b07f43bce392beda6ac10729925c3b6ad850f0af5485c3f540b72353a1e877e7e9b76580057197cf68864086f1a3d1f9459cfcf142f16772f48125426d72db')
+
+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