aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-gtk2/APKBUILD
blob: a80bb6499d431349ddf05ee8746d55312ecaebc7 (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 <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-gtk2
_pkgreal=Gtk2
pkgver=1.24993
pkgrel=1
pkgdesc="Perl module for Gtk2"
url="https://metacpan.org/release/Gtk2"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpanmakedepends="perl-extutils-depends perl-extutils-pkgconfig perl-glib perl-pango"
depends="perl"
makedepends="perl-dev gtk+2.0-dev glib-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gtk2-$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="320b10803394b196e0833ab998b854c7e184d6f291657c732a1fddb0c049d01ef192c73e6a095a87b18ff8cb9ac846fcb3682a2dd0c9c86076342e3ca7e55eb5  Gtk2-1.24993.tar.gz"