mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 4
 | |
| # Contributor: Natanael Copa <ncopa@alpinelinux.org>
 | |
| # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 | |
| pkgname=perl-glib-ex-objectbits
 | |
| pkgver=17
 | |
| pkgrel=0
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=Glib-Ex-ObjectBits
 | |
| pkgdesc="Helpers for Glib objects"
 | |
| url="https://metacpan.org/release/Glib-Ex-ObjectBits/"
 | |
| arch="noarch"
 | |
| license="GPL-3.0-or-later"
 | |
| depends="perl perl-devel-globaldestruction perl-glib"
 | |
| checkdepends="perl-test-weaken perl-gtk2 perl-pango"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/K/KR/KRYDE/Glib-Ex-ObjectBits-$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 \
 | |
| 		NO_PACKLIST=1 \
 | |
| 		NO_PERLLOCAL=1
 | |
| 	make
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	make test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	make DESTDIR="$pkgdir" install
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 759259dc261432e93c8f68303c72c6c58016c978e252d472460580dd9a0ec4dfff322cac3bdde37dc85faf6473be1349e35215cdce07c173e7c120ed16981ed5  Glib-Ex-ObjectBits-17.tar.gz
 | |
| "
 |