summaryrefslogtreecommitdiff
path: root/community-testing/perl-io-tty/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/perl-io-tty/PKGBUILD')
-rw-r--r--community-testing/perl-io-tty/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community-testing/perl-io-tty/PKGBUILD b/community-testing/perl-io-tty/PKGBUILD
new file mode 100644
index 000000000..7fe7b0b0d
--- /dev/null
+++ b/community-testing/perl-io-tty/PKGBUILD
@@ -0,0 +1,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')
+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
+}