summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Harting2017-03-18 14:17:45 +0100
committerGiovanni Harting2017-03-18 14:17:45 +0100
commit8f59ad9acfbb2fc7fb16dea3b0070027ab7a8ff2 (patch)
tree45aac3aa5c2b5cb195c0b2167516ded69f43f792
downloadaur-8f59ad9acfbb2fc7fb16dea3b0070027ab7a8ff2.tar.gz
v0.35, initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD35
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..49b1f9fbbd7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = perl-net-ftpssl
+ pkgdesc = NET::FTPSSL perl module.
+ pkgver = 0.35
+ pkgrel = 1
+ url = https://metacpan.org/release/Net-FTPSSL
+ arch = any
+ license = GPL
+ license = PerlArtistic
+ depends = perl
+ depends = perl-net-ssleay
+ depends = perl-io-socket-ssl
+ options = !emptydirs
+ options = purge
+ source = http://search.cpan.org/CPAN/authors/id/C/CL/CLEACH/Net-FTPSSL-0.35.tar.gz
+ sha256sums = cab8ca7b7d954849d0bf9e26ee84ff2995cc69154c27a9d936be0cdeb7d70228
+
+pkgname = perl-net-ftpssl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aea00221468
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor: Giovanni Harting <539 at idlegandalf dot com>
+pkgname=perl-net-ftpssl
+pkgver=0.35
+pkgrel=1
+pkgdesc='NET::FTPSSL perl module.'
+_dist=Net-FTPSSL
+arch=('any')
+url="https://metacpan.org/release/$_dist"
+license=('GPL' 'PerlArtistic')
+depends=(perl perl-net-ssleay perl-io-socket-ssl)
+options=('!emptydirs' purge)
+source=("http://search.cpan.org/CPAN/authors/id/C/CL/CLEACH/$_dist-$pkgver.tar.gz")
+sha256sums=('cab8ca7b7d954849d0bf9e26ee84ff2995cc69154c27a9d936be0cdeb7d70228')
+
+build() {
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ /usr/bin/perl Makefile.PL
+ make
+}
+
+check() {
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}
+