aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-importer/APKBUILD
blob: 94571190f59c83e0fd8a522fb16a7d4e43c56592 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-importer
pkgver=0.014
pkgrel=0
pkgdesc="Alternative but compatible interface to modules that export symbols."
url="https://metacpan.org/release/Importer"
arch="noarch"
license="PerlArtistic"
depends="perl"
makedepends=""
install=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Importer-$pkgver.tar.gz"
builddir="$srcdir/Importer-$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 || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="b311f1196b955eebd2d736daef2e7284  Importer-0.014.tar.gz"
sha256sums="79b088cdead749d2c5a8cf585456cba064b4847c003a28d02d10a6cc2231b989  Importer-0.014.tar.gz"
sha512sums="da7a7713a8a8b7410b8fa5c737c227df1114be378618f1cb35dbe8ee330d181ab590c9b7d5f5e76e9a6c9366d685e0e8141cbd4f9e683b62635ce0490fde3f68  Importer-0.014.tar.gz"