aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-unix-syslog/APKBUILD
blob: e240e8972eca9c4ce9f1ead2e18e43f91042e33c (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                      


                        
         
                                                    
                                                    
          
                      



                          
                                                                                      
                                     

         



                                                                 
 

                      
                                      
                                                   
                                                  

 
                                                                                                                                                                     
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-unix-syslog
_realname=Unix-Syslog
pkgver=1.1
pkgrel=14
pkgdesc="Perl interface to the UNIX syslog(3) calls"
url="http://search.cpan.org/~mharnisch/Unix-Syslog/"
arch="all"
license="Artistic-2.0"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MH/MHARNISCH/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

sha512sums="cb1ea3846844b7c82e081f3bb778c698b681d1875b83201b1beef2267a288890c6fc62af8edbfbc04553a9caa1ebafa429130e784f31c9531719b11a4c47c3ba  Unix-Syslog-1.1.tar.gz"