From 7b70ea9c7838349d959c27877125b39da534fc89 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Tue, 26 May 2015 18:20:42 +0200 Subject: [PATCH 1/3] PKGBUILD for ServiceNow::SOAP --- .SRCINFO | 20 ++++++++++++++++++++ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..a25cfc4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = perl-servicenow-soap + pkgdesc = A better Perl API for ServiceNow + pkgver = 0.11 + pkgrel = 1 + url = https://metacpan.org/release/ServiceNow-SOAP + arch = any + license = GPL + license = PerlArtistic + depends = perl>=5.10.0 + depends = perl-http-cookies + depends = perl-libwww + depends = perl-mime-types + depends = perl-soap-lite + depends = perl-xml-simple + options = !emptydirs + source = http://cpan.metacpan.org/authors/id/G/GF/GFLEWIS/ServiceNow-SOAP-0.11.tar.gz + md5sums = dd7c36ab3ee11160500a285f7cd941b1 + +pkgname = perl-servicenow-soap + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..f314726 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Cedric Girard +_author=GFLEWIS +_perlmod=ServiceNow-SOAP +pkgname=perl-servicenow-soap +pkgver=0.11 +pkgrel=1 +pkgdesc="A better Perl API for ServiceNow " +arch=('any') +url="https://metacpan.org/release/$_perlmod" +license=('GPL' 'PerlArtistic') +depends=( + 'perl>=5.10.0' + 'perl-http-cookies' + 'perl-libwww' + 'perl-mime-types' + 'perl-soap-lite' + 'perl-xml-simple' + ) +options=(!emptydirs) +source=(http://cpan.metacpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz) +md5sums=('dd7c36ab3ee11160500a285f7cd941b1') + +build() { + cd "$srcdir/$_perlmod-$pkgver" + + # Install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + +} + +package() { + cd "$srcdir/$_perlmod-$pkgver" + make install DESTDIR="$pkgdir/" + +} + +# vim:set ts=2 sw=2 et: From 98680ace2c04681b742ca86a5ad39279edc0a4bf Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Tue, 24 Nov 2015 11:00:38 +0100 Subject: [PATCH 2/3] new upstream version 0.12 --- .SRCINFO | 8 +++++--- PKGBUILD | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a25cfc4..3e27d81 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Tue Nov 24 10:00:34 UTC 2015 pkgbase = perl-servicenow-soap pkgdesc = A better Perl API for ServiceNow - pkgver = 0.11 + pkgver = 0.12 pkgrel = 1 url = https://metacpan.org/release/ServiceNow-SOAP arch = any @@ -13,8 +15,8 @@ pkgbase = perl-servicenow-soap depends = perl-soap-lite depends = perl-xml-simple options = !emptydirs - source = http://cpan.metacpan.org/authors/id/G/GF/GFLEWIS/ServiceNow-SOAP-0.11.tar.gz - md5sums = dd7c36ab3ee11160500a285f7cd941b1 + source = http://cpan.metacpan.org/authors/id/G/GF/GFLEWIS/ServiceNow-SOAP-0.12.tar.gz + md5sums = d93ac2a191c25b50f7eae4105ea582c0 pkgname = perl-servicenow-soap diff --git a/PKGBUILD b/PKGBUILD index f314726..940c42a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ _author=GFLEWIS _perlmod=ServiceNow-SOAP pkgname=perl-servicenow-soap -pkgver=0.11 +pkgver=0.12 pkgrel=1 pkgdesc="A better Perl API for ServiceNow " arch=('any') @@ -18,7 +18,7 @@ depends=( ) options=(!emptydirs) source=(http://cpan.metacpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz) -md5sums=('dd7c36ab3ee11160500a285f7cd941b1') +md5sums=('d93ac2a191c25b50f7eae4105ea582c0') build() { cd "$srcdir/$_perlmod-$pkgver" From b2254da5df9065fe1428d1d4299b9a1559a9274f Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Wed, 4 Jul 2018 13:33:11 +0200 Subject: [PATCH 3/3] new upstream version 0.16 --- .SRCINFO | 8 +++----- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 3e27d81..a50f7e1 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Tue Nov 24 10:00:34 UTC 2015 pkgbase = perl-servicenow-soap pkgdesc = A better Perl API for ServiceNow - pkgver = 0.12 + pkgver = 0.16 pkgrel = 1 url = https://metacpan.org/release/ServiceNow-SOAP arch = any @@ -15,8 +13,8 @@ pkgbase = perl-servicenow-soap depends = perl-soap-lite depends = perl-xml-simple options = !emptydirs - source = http://cpan.metacpan.org/authors/id/G/GF/GFLEWIS/ServiceNow-SOAP-0.12.tar.gz - md5sums = d93ac2a191c25b50f7eae4105ea582c0 + source = http://cpan.metacpan.org/authors/id/G/GF/GFLEWIS/ServiceNow-SOAP-0.16.tar.gz + md5sums = 61f2562d63bc6b9fa9033df607121491 pkgname = perl-servicenow-soap diff --git a/PKGBUILD b/PKGBUILD index 940c42a..c3edc28 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ _author=GFLEWIS _perlmod=ServiceNow-SOAP pkgname=perl-servicenow-soap -pkgver=0.12 +pkgver=0.16 pkgrel=1 pkgdesc="A better Perl API for ServiceNow " arch=('any') @@ -18,7 +18,7 @@ depends=( ) options=(!emptydirs) source=(http://cpan.metacpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz) -md5sums=('d93ac2a191c25b50f7eae4105ea582c0') +md5sums=('61f2562d63bc6b9fa9033df607121491') build() { cd "$srcdir/$_perlmod-$pkgver"