summaryrefslogtreecommitdiff
path: root/maintained
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-04-04 11:27:47 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-04-04 11:27:47 +0200
commit48df2c113e0dc2caf73e69b90c72168eac0ac52e (patch)
tree81ab89f8f194562b66ae2f9b7d1539baa4daaeee /maintained
parentd293c0f7b77b579a72ebc018207da506c8e44e54 (diff)
downloadarch-48df2c113e0dc2caf73e69b90c72168eac0ac52e.tar.gz
arch-48df2c113e0dc2caf73e69b90c72168eac0ac52e.tar.bz2
added perl-http-daemon-ssl
Diffstat (limited to 'maintained')
-rw-r--r--maintained/perl-http-daemon-ssl/.SRCINFO17
-rw-r--r--maintained/perl-http-daemon-ssl/PKGBUILD36
2 files changed, 53 insertions, 0 deletions
diff --git a/maintained/perl-http-daemon-ssl/.SRCINFO b/maintained/perl-http-daemon-ssl/.SRCINFO
new file mode 100644
index 0000000..1895bd6
--- /dev/null
+++ b/maintained/perl-http-daemon-ssl/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = perl-http-daemon-ssl
+ pkgdesc = Simple http server class with SSL support
+ pkgver = 1.04
+ pkgrel = 1
+ url = https://metacpan.org/pod/HTTP::Daemon::SSL
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ depends = perl
+ depends = perl-io-socket-ssl
+ depends = perl-io-socket-inet6
+ options = !emptydirs
+ source = https://cpan.metacpan.org/authors/id/A/AU/AUFFLICK/HTTP-Daemon-SSL-1.04.tar.gz
+ sha256sums = 7eae05422d934c8492dfd3505b774fd6590c99808ce8beb6c57efd261e5dc22e
+
+pkgname = perl-http-daemon-ssl
+
diff --git a/maintained/perl-http-daemon-ssl/PKGBUILD b/maintained/perl-http-daemon-ssl/PKGBUILD
new file mode 100644
index 0000000..5030beb
--- /dev/null
+++ b/maintained/perl-http-daemon-ssl/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=perl-http-daemon-ssl
+pkgver=1.04
+pkgrel=1
+pkgdesc="Simple http server class with SSL support"
+arch=('any')
+url='https://metacpan.org/pod/HTTP::Daemon::SSL'
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-io-socket-ssl' 'perl-io-socket-inet6')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/A/AU/AUFFLICK/HTTP-Daemon-SSL-${pkgver}.tar.gz)
+sha256sums=('7eae05422d934c8492dfd3505b774fd6590c99808ce8beb6c57efd261e5dc22e')
+
+prepare() {
+ cd "${srcdir}/HTTP-Daemon-SSL-${pkgver}"
+}
+
+build() {
+ cd "${srcdir}/HTTP-Daemon-SSL-${pkgver}"
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+# currently breaks, must investigate
+#check() {
+# cd "${srcdir}/HTTP-Daemon-SSL-${pkgver}"
+# make test
+#}
+
+package() {
+ cd "${srcdir}/HTTP-Daemon-SSL-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et: