aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-glib/APKBUILD
blob: 72e544909fe412445e6fd5f992f18e8adc1f7e69 (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
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-glib
_pkgreal=Glib
pkgver=1.3291
pkgrel=1
pkgdesc="Perl module for Glib"
url="https://metacpan.org/release/Glib"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpanmakedepends="perl-extutils-depends perl-extutils-pkgconfig"
depends="perl"
makedepends="perl-dev glib-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-$pkgver.tar.gz"

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

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}


sha512sums="5c596e29c3e2ef72908668ddf1f260cf217b64d73732e90ef0fdef007f98b29efcd0620f01e0a39b5f2a0b368d4a05926543c9db0593bfa5a027e86af95fddba  Glib-1.3291.tar.gz"