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

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:06:43 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:06:42
  Author: felixonmars
Revision: 329959

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

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

Copied: perl-term-readkey/repos/staging-x86_64/PKGBUILD (from rev 329958, perl-term-readkey/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-08-01 09:06:42 UTC (rev 329959)
@@ -0,0 +1,36 @@
+# $Id$
+# 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.37
+pkgrel=5
+pkgdesc="Provides simple control over terminal driver modes"
+arch=('x86_64')
+license=('custom')
+depends=('perl' 'glibc')
+url="http://search.cpan.org/~jstowe/${_realname}/"
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/${_realname}-$pkgver.tar.gz)
+md5sums=('e8ea15c16333ac4f8d146d702e83cc0c')
+
+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