[arch-commits] Commit in perl-term-ui/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 09:42:51 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:42:50
Author: bluewind
Revision: 366426
archrelease: copy trunk to community-staging-any
Added:
perl-term-ui/repos/community-staging-any/
perl-term-ui/repos/community-staging-any/PKGBUILD
(from rev 366425, perl-term-ui/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: perl-term-ui/repos/community-staging-any/PKGBUILD (from rev 366425, perl-term-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 09:42:50 UTC (rev 366426)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-term-ui
+pkgver=0.46
+pkgrel=4
+pkgdesc='User interfaces via Term::ReadLine made easy'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=("!emptydirs")
+depends=('perl-log-message' 'perl-log-message-simple')
+url='https://metacpan.org/release/Term-UI'
+source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Term-UI-$pkgver.tar.gz")
+sha512sums=('7788d651e29e9c7b9c0c2b2074b39f143216a321a5a71c9c4e52fe32e44a246faade8cfdf109bcf7cfe1bac5d9d97fc920c6344a5692e8508361f1c780c41054')
+_ddir="Term-UI-$pkgver"
+
+build() (
+ cd "$srcdir/$_ddir"
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ unset PERL5LIB PERL_MM_OPT
+ /usr/bin/perl Makefile.PL
+ make
+)
+
+check() (
+ cd "$srcdir/$_ddir"
+ export PERL_MM_USE_DEFAULT=1
+ unset PERL5LIB
+ make test
+)
+
+package() (
+ cd "$srcdir/$_ddir"
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+ #find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list