[arch-commits] Commit in perl-term-readkey/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue May 19 08:23:29 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:23:29
  Author: foutrelis
Revision: 386276

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 386275, perl-term-readkey/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: perl-term-readkey/repos/staging-x86_64/PKGBUILD (from rev 386275, perl-term-readkey/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:23:29 UTC (rev 386276)
@@ -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=4
+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