[arch-commits] Commit in perl-term-readkey/repos (3 files)
Florian Pritz
bluewind at archlinux.org
Sat Jun 2 10:28:21 UTC 2012
Date: Saturday, June 2, 2012 @ 06:28:20
Author: bluewind
Revision: 160555
db-move: moved perl-term-readkey from [testing] to [extra] (x86_64)
Added:
perl-term-readkey/repos/extra-x86_64/PKGBUILD
(from rev 160459, perl-term-readkey/repos/testing-x86_64/PKGBUILD)
Deleted:
perl-term-readkey/repos/extra-x86_64/PKGBUILD
perl-term-readkey/repos/testing-x86_64/
----------+
PKGBUILD | 75 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 36 insertions(+), 39 deletions(-)
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-06-02 10:28:18 UTC (rev 160554)
+++ extra-x86_64/PKGBUILD 2012-06-02 10:28:20 UTC (rev 160555)
@@ -1,39 +0,0 @@
-# $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=1
-pkgdesc="Provides simple control over terminal driver modes"
-arch=('i686' 'x86_64')
-license=('custom')
-depends=('perl>=5.10.0' '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
- install -d "${pkgdir}/usr/share/licenses/$pkgname/"
- head -7 README > "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
-
- # remove perllocal.pod and .packlist
- find "${pkgdir}" -name perllocal.pod -delete
- find "${pkgdir}" -name .packlist -delete
-}
Copied: perl-term-readkey/repos/extra-x86_64/PKGBUILD (from rev 160459, perl-term-readkey/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-06-02 10:28:20 UTC (rev 160555)
@@ -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