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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 08:33:36 UTC 2021


    Date: Monday, May 24, 2021 @ 08:33:36
  Author: foutrelis
Revision: 415981

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

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

Copied: perl-term-readkey/repos/staging-x86_64/PKGBUILD (from rev 415980, perl-term-readkey/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-05-24 08:33:36 UTC (rev 415981)
@@ -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=6
+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