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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:50:39 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:50:39
  Author: felixonmars
Revision: 659440

archrelease: copy trunk to community-staging-any

Added:
  perl-file-nfslock/repos/community-staging-any/
  perl-file-nfslock/repos/community-staging-any/PKGBUILD
    (from rev 659439, perl-file-nfslock/trunk/PKGBUILD)

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

Copied: perl-file-nfslock/repos/community-staging-any/PKGBUILD (from rev 659439, perl-file-nfslock/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 16:50:39 UTC (rev 659440)
@@ -0,0 +1,29 @@
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Maintainer: Chris Brannon <chris at the-brannons.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-file-nfslock
+pkgver=1.29
+pkgrel=2
+pkgdesc="NFS compatible (safe) locking utility"
+arch=('any')
+url="https://search.cpan.org/dist/File-NFSLock"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+options=('!emptydirs')
+source=(https://www.cpan.org/authors/id/B/BB/BBB/File-NFSLock-$pkgver.tar.gz) 
+sha256sums=('61d41599b481164edf9b8becabbef2d23f622a9727f6c18365e92b5782d4fa37')
+
+build() {
+  cd  "$srcdir/File-NFSLock-$pkgver"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
+  PERL_USE_UNSAFE_INC=1 \
+  make || return 1
+}
+
+package() {
+  cd  "$srcdir/File-NFSLock-$pkgver"
+  make install DESTDIR="$pkgdir" || return 1
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list