blob: e8574d80aaaa678ae6e464887aad874249ff30a9 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-io-tty
_pkgreal=IO-Tty
pkgver=1.11
pkgrel=1
pkgdesc="Pseudo ttys and constants"
url="http://search.cpan.org/dist/IO-Tty/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends perl"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
}
build() {
cd "$_builddir"
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="fc42736aee83f848ff5191c6890cc539 IO-Tty-1.11.tar.gz"
sha256sums="a477fa0bf91d034bdd25abaa1fe670810f5f4992cea819f823ee91b8584fed51 IO-Tty-1.11.tar.gz"
sha512sums="cadff091a40a2d1a013c35a116340c6701dcd354718d1af7c087e015c792391c4c5dd70e83e498468233198fadc9605843112fb14abe66a7e4f5e1ba320fdff0 IO-Tty-1.11.tar.gz"
|