mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Milan P. Stanić <mps@arvanta.net>
|
|
# Maintainer: Milan P. Stanić <mps@arvanta.net>
|
|
pkgname=perl-gtk3
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Gtk3
|
|
pkgver=0.038
|
|
pkgrel=1
|
|
pkgdesc="Perl interface to the 3.x series of the gtk+ toolkit"
|
|
url="https://metacpan.org/release/Gtk3/"
|
|
arch="noarch"
|
|
license="GPL-2.0-or-later"
|
|
depends="perl perl-glib-object-introspection perl-cairo-gobject"
|
|
makedepends="perl-cairo gtk+3.0-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gtk3-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="2289184a25deec342b9519028cc5ebb3a66137d7891366485e4b6a1ef52a4a28b5ba8083a317a56664d4ea6eb1bc0619477d1ca169baf79b868467fba27f82bf Gtk3-0.038.tar.gz"
|