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

Florian Pritz bluewind at archlinux.org
Sun May 27 07:43:52 UTC 2012


    Date: Sunday, May 27, 2012 @ 03:43:52
  Author: bluewind
Revision: 159914

db-move: moved perl-term-readkey from [staging] to [testing] (i686)

Added:
  perl-term-readkey/repos/testing-i686/
  perl-term-readkey/repos/testing-i686/PKGBUILD
    (from rev 159819, perl-term-readkey/repos/staging-i686/PKGBUILD)
Deleted:
  perl-term-readkey/repos/staging-i686/

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

Copied: perl-term-readkey/repos/testing-i686/PKGBUILD (from rev 159819, perl-term-readkey/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-05-27 07:43:52 UTC (rev 159914)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: 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.30.02
+pkgrel=2
+pkgdesc="Provides simple control over terminal driver modes"
+arch=('i686' 'x86_64')
+license=('custom')
+depends=('perl' 'glibc')
+url="http://search.cpan.org/~stsi/${_realname}/"
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/S/ST/STSI/${_realname}-$pkgver.tar.gz)
+md5sums=('69b92c8ddca8691c83823c683cd9838a')
+
+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
+  chmod 755 "${pkgdir}/usr/lib/perl5/vendor_perl/auto/Term/ReadKey/ReadKey.so"
+  install -d "${pkgdir}/usr/share/licenses/$pkgname/"
+  head -7 README > "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}




More information about the arch-commits mailing list