summaryrefslogblamecommitdiff
path: root/user/perl-filesys-notify-simple/APKBUILD
blob: ec4f2cdcb46df268c2620632c31720e939e504ff (plain) (tree)
1
2
3
4
5
6
7
8


                                                                   



                               
           




                                                        
              


                                   

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                                
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-filesys-notify-simple
_pkgreal=Filesys-Notify-Simple
_author=MIYAGAWA
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.14
pkgrel=0
pkgdesc="Simple file system watcher for Perl"
url="https://metacpan.org/release/Filesys-Notify-Simple"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl"
checkdepends="perl-test-sharedfork"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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"