[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Thu Apr 11 09:55:06 UTC 2019
Date: Thursday, April 11, 2019 @ 09:55:04
Author: felixonmars
Revision: 451030
addpkg: perl-hook-lexwrap 0.26-1
Added:
perl-hook-lexwrap/
perl-hook-lexwrap/repos/
perl-hook-lexwrap/trunk/
perl-hook-lexwrap/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: perl-hook-lexwrap/trunk/PKGBUILD
===================================================================
--- perl-hook-lexwrap/trunk/PKGBUILD (rev 0)
+++ perl-hook-lexwrap/trunk/PKGBUILD 2019-04-11 09:55:04 UTC (rev 451030)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-hook-lexwrap
+pkgver=0.26
+pkgrel=1
+pkgdesc="Lexically-scoped resource management"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Hook-LexWrap"
+depends=('perl')
+checkdepends=('perl-test-pod')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/Hook-LexWrap-$pkgver.tar.gz")
+sha512sums=('f7771d4fb8379f43fa5b864e345f4526603914c3c486c637ea07fb9e2d41569bf40948a9039fab7d10c683fb85e16a8653876613903d34cc6801fcc9e92aa58b')
+
+build() {
+ cd Hook-LexWrap-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd Hook-LexWrap-$pkgver
+ make test
+}
+
+package() {
+ cd Hook-LexWrap-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list