[arch-commits] Commit in perl-local-lib/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 08:49:14 UTC 2019
Date: Saturday, May 25, 2019 @ 08:49:14
Author: foutrelis
Revision: 469920
archrelease: copy trunk to community-staging-any
Added:
perl-local-lib/repos/community-staging-any/
perl-local-lib/repos/community-staging-any/PKGBUILD
(from rev 469919, perl-local-lib/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: perl-local-lib/repos/community-staging-any/PKGBUILD (from rev 469919, perl-local-lib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 08:49:14 UTC (rev 469920)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-local-lib
+pkgver=2.000024
+pkgrel=2
+pkgdesc="Create and use a local lib/ for perl modules with PERL5LIB"
+arch=('any')
+url="https://search.cpan.org/dist/local-lib/"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/H/HA/HAARG/local-lib-$pkgver.tar.gz")
+sha256sums=('2e9b917bd48a0615e42633b2a327494e04610d8f710765b9493d306cead98a05')
+
+build() {
+ cd local-lib-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd local-lib-${pkgver}
+ make test
+}
+
+package() {
+ cd local-lib-${pkgver}
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list