aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-io-stringy/APKBUILD
blob: 9e3d709a94ad258e3d7ef5c2863b5abc73961bee (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-io-stringy
_realname=IO-stringy
pkgver=2.111
pkgrel=1
pkgdesc="A Perl module for I/O on in-core objects like strings and arrays"
url="http://search.cpan.org/~dskoll/IO-stringy/"
arch="noarch"
license="Artistic-Perl-1.0 GPL+"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/$_realname-$pkgver.tar.gz"

_builddir="$srcdir/$_realname-$pkgver"

build() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="e91acf0a800b190d13585a47de775bdd  IO-stringy-2.111.tar.gz"
sha256sums="8c67fd6608c3c4e74f7324f1404a856c331dbf48d9deda6aaa8296ea41bf199d  IO-stringy-2.111.tar.gz"
sha512sums="9da8fb03945bc4a59cea3b3b2e22b15d56b133470e581d1cb03920bda2b4953e3c9e4a25d095ed8a384efb5a4c58db437c92cca6a81d583791191f1a37691a4a  IO-stringy-2.111.tar.gz"