mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1012 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1012 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 1
 | |
| # Contributor: Francesco Colista <fcolista@alpinelinux.org>
 | |
| # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
 | |
| pkgname=perl-dbix-datasource
 | |
| _pkgreal=DBIx-DataSource
 | |
| pkgver=0.02
 | |
| pkgrel=5
 | |
| pkgdesc="Database-independant create and drop functions"
 | |
| url="https://metacpan.org/release/DBIx-DataSource"
 | |
| arch="noarch"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="perl perl-dbi"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/I/IV/IVAN/$_pkgreal-$pkgver.tar.gz"
 | |
| 
 | |
| builddir="$srcdir/$_pkgreal-$pkgver"
 | |
| 
 | |
| prepare() {
 | |
| 	default_prepare
 | |
| 
 | |
| 	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
 | |
| }
 | |
| 
 | |
| build() {
 | |
| 	make
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	make test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	make DESTDIR="$pkgdir" install
 | |
| 	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
 | |
| }
 | |
| 
 | |
| sha512sums="03a177d749d92852fc106085202ac80bcf53744012961fe789e29793eb500cae3705787e720ba8f06eca6c84b2f3388c7f24a2aa5420962ac61d5be8a7edbbcc  DBIx-DataSource-0.02.tar.gz"
 |