blob: 53a039d70a193e008987615e86877ea37143b6e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Contributor: Charles Mauch <cmauch@gmail.com>
pkgname=perl-io-tty
_realname=IO-Tty
pkgver=1.08
pkgrel=4
pkgdesc="Provide an interface to TTYs and PTYs"
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/IO-Tty/"
license=("GPL" "PerlArtistic")
depends=('glibc')
source=("http://www.cpan.org/authors/id/R/RG/RGIERSIG/${_realname}-$pkgver.tar.gz")
md5sums=('e99d819a6f8c11ae105b770cc508a4fc')
options=('!emptydirs')
build() {
cd $srcdir/${_realname}-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package(){
cd $srcdir/${_realname}-$pkgver
make install DESTDIR=$pkgdir
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}
|