aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-inline-c/APKBUILD
blob: 0094f6db5558cd97fb50d5bf9dec7281fcff4367 (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
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-inline-c
_pkgreal=Inline-C
pkgver=0.81
pkgrel=0
pkgdesc="Perl module for Inline-C"
url="http://search.cpan.org/dist/Inline-C/"
arch="noarch"
license="GPL PerlArtistic"
makedepends="perl-dev perl-file-sharedir-install"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TI/TINITA/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	default_prepare

	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir"
	find "$pkgdir" -name perllocal.pod -delete
}

sha512sums="c3d0d669c26017b4b63cc101377d067438c31fc5d1e6187d01194f70158049e386683b792716aad58772eae839512ecaefd4b3ac7a2377dd1404a651c24b2277  Inline-C-0.81.tar.gz"