aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-xml-rss/APKBUILD
blob: 0aed8dba0a70707acf2a27eeb7de09a8b72e38d0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                      
                    
                

           
                                       

                                          
                          
                                                                                                                  
                                       

                                       
                          

                                                                                     
                                    
 

                      
                                                               

                                                                 

 


                      


           

                                      


                                                                           
                                                                                                                                                                  
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-xml-rss
_pkgreal=XML-RSS
pkgver=1.60
pkgrel=0
pkgdesc="creates and updates RSS files"
url="http://search.cpan.org/dist/XML-RSS/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-xml-parser perl-html-parser perl-datetime-format-mail perl-datetime-format-w3cdtf perl-datetime"
cpanmakedepends="perl-test-manifest   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	cd "$builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="93301cef8aa1ba553b624c3db558b33c356fbaecd0049b6960225d3eb4e3c9992bb8896608eb5e8405adcce644b7b19d971525d799adc781a1a7e6a20cd12b75  XML-RSS-1.60.tar.gz"