diff options
Diffstat (limited to 'user/perl-io-tty')
-rw-r--r-- | user/perl-io-tty/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-io-tty/APKBUILD b/user/perl-io-tty/APKBUILD new file mode 100644 index 000000000..d42b831a2 --- /dev/null +++ b/user/perl-io-tty/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-io-tty +pkgver=1.12 +pkgrel=0 +pkgdesc="Low-level allocate a pseudo-tty" +url="https://metacpan.org/pod/IO::Tty" +arch="all" +license="Artistic-1.0-Perl" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/T/TO/TODDR/IO-Tty-$pkgver.tar.gz" +builddir="$srcdir/IO-Tty-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="23733e7832a0de370952420df8a781f85d28ff60eb4cd55be22147337bf5587f4e1ec7fcfc190ae3ad1fd9df0f9697f2d647e00739f4a2927b1ac9c81435454d IO-Tty-1.12.tar.gz" |