mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
21 lines
664 B
Bash
21 lines
664 B
Bash
# Contributor: Charles Mauch <cmauch@gmail.com>
|
|
|
|
pkgname=perl-io-tty
|
|
_realname=IO-Tty
|
|
pkgver=1.08
|
|
pkgrel=2
|
|
pkgdesc="Provide an interface to TTYs and PTYs"
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/IO-Tty/"
|
|
license=("GPL" "PerlArtistic")
|
|
source=("http://www.cpan.org/authors/id/R/RG/RGIERSIG/${_realname}-$pkgver.tar.gz")
|
|
md5sums=('e99d819a6f8c11ae105b770cc508a4fc')
|
|
|
|
build() {
|
|
cd $startdir/src/${_realname}-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=$startdir/pkg || return 1
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|