aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-glib/APKBUILD
blob: aac49780eaf22efe6cbfe7448ac522ee1dbfcb36 (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.3294
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"
depends="perl"
makedepends="perl-dev glib-dev perl-extutils-depends perl-extutils-pkgconfig"
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="
f02560fe6de2d98f2b391ed37a60d231cbfdde1cddfcbf614883c61d666dda1264c215220748985cc4cbbe06dbd1b5df35d21c2ce259b46d468a16bffdfd2dae  Glib-1.3294.tar.gz
"