summaryrefslogtreecommitdiff
path: root/user/perl-filesys-notify-simple/APKBUILD
blob: d87fcbb4bcd86b0604565718f20ee2bf34af8a45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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.13
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="e8c02428240687d34c7ade45a893baecdd6cfc77e4730d3fe07d2009c7ac441512c494cfd139002b7e49ae2b23cc6323da3903004262930adc89f21077960c88  Filesys-Notify-Simple-0.13.tar.gz"