mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:38:28 +08:00
30 lines
987 B
Bash
30 lines
987 B
Bash
# $Id: PKGBUILD 82218 2010-06-09 14:30:24Z kevin $
|
|
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
|
|
# Contributor: Francois Charette <francois.archlinux.org>
|
|
|
|
pkgname=perl-term-readkey
|
|
_realname=TermReadKey
|
|
pkgver=2.30.01
|
|
pkgrel=2
|
|
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}/"
|
|
source=(http://search.cpan.org/CPAN/authors/id/S/ST/STSI/${_realname}-$pkgver.tar.gz)
|
|
options=('!emptydirs')
|
|
build()
|
|
{
|
|
cd ${srcdir}/TermReadKey-$pkgver
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
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
|
|
}
|
|
md5sums=('6c099eddb76ec9b92179f1ed929be71a')
|