summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn D Jones III2015-06-16 15:48:15 -0600
committerJohn D Jones III2015-06-16 15:48:15 -0600
commit3c66c4a6b946f5811e47f61bee56033ee8228a6b (patch)
tree0d61b42644190ead3110136e6e67d1b0f5cf4118
downloadaur-3c66c4a6b946f5811e47f61bee56033ee8228a6b.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD50
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..71103b78dc9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = perl-proc-daemon
+ pkgdesc = Run Perl program(s) as a daemon process
+ pkgver = 0.19
+ pkgrel = 1
+ url = https://metacpan.org/release/Proc-Daemon
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ makedepends = perl-proc-processtable
+ depends = perl
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/A/AK/AKREAL/Proc-Daemon-0.19.tar.gz
+ md5sums = 5e3114a50f00432b84c86280393032c1
+ sha512sums = 11ed2c33f785692ee2ba7f8e15d2e729497ba44684f5764a29bf33752db675b565fc12241cb45a1d79b020543b03a74aa036400da41cdee933939bcc757a81fc
+
+pkgname = perl-proc-daemon
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4ffe9a14bfc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator : CPANPLUS::Dist::Arch 1.30
+
+pkgname='perl-proc-daemon'
+pkgver='0.19'
+pkgrel='1'
+pkgdesc="Run Perl program(s) as a daemon process"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-proc-processtable')
+url='https://metacpan.org/release/Proc-Daemon'
+source=('http://search.cpan.org/CPAN/authors/id/A/AK/AKREAL/Proc-Daemon-0.19.tar.gz')
+md5sums=('5e3114a50f00432b84c86280393032c1')
+sha512sums=('11ed2c33f785692ee2ba7f8e15d2e729497ba44684f5764a29bf33752db675b565fc12241cb45a1d79b020543b03a74aa036400da41cdee933939bcc757a81fc')
+_distdir="Proc-Daemon-0.19"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: