aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-filesys-notify-simple/APKBUILD
blob: 2639b03b435c2b4c7fff9925ff2cfc018c3758e9 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    
           

                                             
                                                        
             
                                               

                      
                                   
                          
                                                                                                
                                                

         




                                                                 
                 


           
                                      


                                                                           
                                                                                                                                                                                
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-filesys-notify-simple
pkgver=0.14
pkgrel=0
pkgdesc="Filesys::Notify::Simple perl module"
url="https://metacpan.org/release/Filesys-Notify-Simple"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
checkdepends="perl-test-sharedfork"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Filesys-Notify-Simple-$pkgver.tar.gz"
builddir="$srcdir/Filesys-Notify-Simple-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

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

sha512sums="45fe097beb925e913af9c48704f5f550931c70673455258249127dff27abe1955e0e968f37c7c0f4c798a20be78b1055362c69ec2906e8e2633b21f68b198208  Filesys-Notify-Simple-0.14.tar.gz"