1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: kevin <kevin@archlinux.org>
3 # Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
4 # Contributor: Francois Charette <francois.archlinux.org>
6 pkgname=perl-term-readkey
10 pkgdesc="Provides simple control over terminal driver modes"
13 depends=('perl' 'glibc')
14 url="https://search.cpan.org/~jstowe/${_realname}/"
15 options=('!emptydirs')
16 source=(https://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/${_realname}-$pkgver.tar.gz)
17 sha512sums=('fb09f013f9f0d8a4397e39f6f3db7a6d023259219af8f76744094e396437a01b19141b3cdb39a158d3b518903fb010088bc37406763bfbeb3fcab810bb0bb157')
20 cd "${srcdir}/TermReadKey-$pkgver"
21 perl Makefile.PL INSTALLDIRS=vendor
26 cd "${srcdir}/TermReadKey-$pkgver"
31 cd "${srcdir}/TermReadKey-$pkgver"
32 make DESTDIR="${pkgdir}" install
33 install -d "${pkgdir}/usr/share/licenses/$pkgname/"
34 head -7 README > "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"