summaryrefslogtreecommitdiff
path: root/user/perl-filesys-notify-simple/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:10:03 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:10:03 +0000
commita8a0039093efc58193b73228ad83c8b1e0ec1e76 (patch)
tree60f9c11312223ddcd4f08f16a23aa003f789730b /user/perl-filesys-notify-simple/APKBUILD
parent7ebd33fd94e8f7999868a272fa62ecace7f8ae27 (diff)
downloadpackages-a8a0039093efc58193b73228ad83c8b1e0ec1e76.tar.gz
packages-a8a0039093efc58193b73228ad83c8b1e0ec1e76.tar.bz2
packages-a8a0039093efc58193b73228ad83c8b1e0ec1e76.tar.xz
packages-a8a0039093efc58193b73228ad83c8b1e0ec1e76.zip
user/perl-filesys-notify-simple: new package
Diffstat (limited to 'user/perl-filesys-notify-simple/APKBUILD')
-rw-r--r--user/perl-filesys-notify-simple/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-filesys-notify-simple/APKBUILD b/user/perl-filesys-notify-simple/APKBUILD
new file mode 100644
index 000000000..821374e2f
--- /dev/null
+++ b/user/perl-filesys-notify-simple/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-filesys-notify-simple
+_pkgname=Filesys-Notify-Simple
+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=""
+checkdepends="perl-test-sharedfork"
+makedepends="perl-dev"
+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() {
+ cd "$builddir"
+ 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="e8c02428240687d34c7ade45a893baecdd6cfc77e4730d3fe07d2009c7ac441512c494cfd139002b7e49ae2b23cc6323da3903004262930adc89f21077960c88 Filesys-Notify-Simple-0.13.tar.gz"