blob: 21d5f49ec66033e7fb8e7fd56684d0e92aee5cf6 (
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
|
# 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.3292
pkgrel=0
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="38c517de573988110648d6fed30a6c76fbb637d6eaf5a1029a5e8a1dcf69998baeb533eb1625a7b40a3bc8884050c6d14b1b248ac2c472e1e2d237769674c469 Glib-1.3292.tar.gz"
|