mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
29 lines
986 B
Bash
29 lines
986 B
Bash
# $Id: PKGBUILD 32165 2009-03-29 13:30:02Z francois $
|
|
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
|
|
# Contributor: Francois Charette <francois.archlinux.org>
|
|
|
|
pkgname=perl-term-readkey
|
|
_realname=TermReadKey
|
|
pkgver=2.30.01
|
|
pkgrel=1
|
|
pkgdesc="Provides simple control over terminal driver modes"
|
|
arch=('i686' 'x86_64')
|
|
license=('custom')
|
|
depends=('perl>=5.10.0' 'glibc')
|
|
url="http://cpan.org/modules/by-module/Term"
|
|
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')
|