[arch-commits] Commit in perl-term-readkey/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 09:14:23 UTC 2019
Date: Saturday, May 25, 2019 @ 09:14:22
Author: felixonmars
Revision: 354030
archrelease: copy trunk to staging-x86_64
Added:
perl-term-readkey/repos/staging-x86_64/
perl-term-readkey/repos/staging-x86_64/PKGBUILD
(from rev 354029, perl-term-readkey/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: perl-term-readkey/repos/staging-x86_64/PKGBUILD (from rev 354029, perl-term-readkey/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-05-25 09:14:22 UTC (rev 354030)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: Wael Nasreddine <gandalf at siemens-mobiles.org>
+# Contributor: Francois Charette <francois.archlinux.org>
+
+pkgname=perl-term-readkey
+_realname=TermReadKey
+pkgver=2.38
+pkgrel=2
+pkgdesc="Provides simple control over terminal driver modes"
+arch=('x86_64')
+license=('custom')
+depends=('perl' 'glibc')
+url="https://search.cpan.org/~jstowe/${_realname}/"
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/${_realname}-$pkgver.tar.gz)
+sha512sums=('fb09f013f9f0d8a4397e39f6f3db7a6d023259219af8f76744094e396437a01b19141b3cdb39a158d3b518903fb010088bc37406763bfbeb3fcab810bb0bb157')
+
+build() {
+ cd "${srcdir}/TermReadKey-$pkgver"
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "${srcdir}/TermReadKey-$pkgver"
+ make test
+}
+
+package() {
+ cd "${srcdir}/TermReadKey-$pkgver"
+ make DESTDIR="${pkgdir}" install
+ install -d "${pkgdir}/usr/share/licenses/$pkgname/"
+ head -7 README > "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list