aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-inline-c/APKBUILD
blob: f34f57a484c85fa2663b2086d5cdccb28b5d2147 (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.78
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="368e68dfb9f1700534d9b391090e340172e3adde5fe15576f883e9341047fec35cea8660751883b27e128ad91dda363d513547368097a989457d669bbbdc8ce4  Inline-C-0.78.tar.gz"