[arch-commits] Commit in perl-try-tiny/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Jun 1 09:10:09 UTC 2017
Date: Thursday, June 1, 2017 @ 09:10:07
Author: foutrelis
Revision: 297138
archrelease: copy trunk to staging-any
Added:
perl-try-tiny/repos/staging-any/
perl-try-tiny/repos/staging-any/PKGBUILD
(from rev 297136, perl-try-tiny/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-try-tiny/repos/staging-any/PKGBUILD (from rev 297136, perl-try-tiny/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2017-06-01 09:10:07 UTC (rev 297138)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-try-tiny
+pkgver=0.28
+pkgrel=2
+pkgdesc="Minimal try/catch with proper localization of \$@"
+arch=('any')
+url="http://search.cpan.org/dist/Try-Tiny"
+license=('MIT')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Try-Tiny-${pkgver}.tar.gz")
+sha1sums=('70dc6bfc6b6cdba3bc7262fe7b2ee488934b3095')
+
+build() {
+ cd Try-Tiny-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd Try-Tiny-${pkgver}
+ make test
+}
+
+package() {
+ cd Try-Tiny-${pkgver}
+ make DESTDIR="$pkgdir" install
+ # upstream typo :/
+ install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list