summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2018-09-12 20:21:19 -0400
committerChris Severance2018-09-12 20:21:19 -0400
commit1243e20d80292b2a79bfbc56f8b9c13500076bf5 (patch)
tree28b0e748b4ccb95fffa02ba940a2afd095808ca1
parent341e73dc53c6d5134caab67ecb541141fe689a03 (diff)
downloadaur-1243e20d80292b2a79bfbc56f8b9c13500076bf5.tar.gz
autu: Update to 1.133-1
-rw-r--r--.AURINFO14
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD66
3 files changed, 47 insertions, 47 deletions
diff --git a/.AURINFO b/.AURINFO
deleted file mode 100644
index 40f71d139de..00000000000
--- a/.AURINFO
+++ /dev/null
@@ -1,14 +0,0 @@
-pkgbase = perl-text-table
- pkgdesc = Organize Data in Tables
- pkgver = 1.130
- pkgrel = 1
- url = http://search.cpan.org/dist/Text-Table
- arch = any
- license = PerlArtistic
- license = GPL
- depends = perl-text-aligner>=0.05
- source = http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Text-Table-1.130.tar.gz
- options = !emptydirs
-
-pkgname = perl-text-table
-
diff --git a/.SRCINFO b/.SRCINFO
index 1ec67340091..81730c51d30 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,20 @@
+# Generated by mksrcinfo v8
+# Thu Sep 13 00:21:19 UTC 2018
pkgbase = perl-text-table
- pkgdesc = Organize Data in Tables
- pkgver = 1.130
+ pkgdesc = Perl CPAN Text::Table - Organize Data in Tables
+ pkgver = 1.133
pkgrel = 1
url = http://search.cpan.org/dist/Text-Table
arch = any
license = PerlArtistic
license = GPL
+ depends = perl
depends = perl-text-aligner>=0.05
options = !emptydirs
- source = http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Text-Table-1.130.tar.gz
- md5sums = bdd095ee4341b85231706a7d19d254f6
- sha512sums = 8e19b2713202efcf2c50e69547ac4673fdc108165c49fba1dd7143875282de9c33acfe2a9ce2f03f5d7d07b34178bbb0944c97637e09811aa3dc219f20e0c09f
+ source = http://www.cpan.org/modules/by-module/Text/Text-Table-1.133.tar.gz
+ md5sums = 4f9ae72f4dd4c8f0b9471099663cac64
+ sha256sums = cd9ee04860d09a19a9d6bd2254a4bf3144ac14a63c08f15a1e28601b4b2f7012
+ sha512sums = fc9ebcb7accc07ec66bc8157a679d3905b06dfcf21560641b149c5930e527385ea2be45190190319c73f6d184e3d4f4ce5deaccf3da58b91f45a820e86fea2ac
pkgname = perl-text-table
diff --git a/PKGBUILD b/PKGBUILD
index fc9f2a1cf33..d6608e72632 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,48 +1,58 @@
-# CPAN Name : Text-Table
+# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
+# Contributor: mmirate
+# Contributor: pshevtsov
# Contributor: Anonymous
# Generator : CPANPLUS::Dist::Arch 1.29
-pkgname='perl-text-table'
-pkgver='1.130'
+set -u
+_perlmod='Text-Table'
+_modnamespace="${_perlmod%%-*}"
+pkgname="perl-${_perlmod,,}"
+pkgver='1.133'
pkgrel='1'
-pkgdesc="Organize Data in Tables"
+pkgdesc="Perl CPAN ${_perlmod//-/::} - Organize Data in Tables"
arch=('any')
+url="http://search.cpan.org/dist/${_perlmod}"
license=('PerlArtistic' 'GPL')
+depends=('perl')
+depends+=('perl-text-aligner>=0.05')
+checkdepends=()
+#checkdepends=('perl-test-cpan-changes' 'perl-test-pod' 'perl-test-pod-coverage' 'perl-test-trailingspace')
options=('!emptydirs')
-depends=('perl-text-aligner>=0.05')
-makedepends=()
-url='http://search.cpan.org/dist/Text-Table'
-source=('http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Text-Table-1.130.tar.gz')
-md5sums=('bdd095ee4341b85231706a7d19d254f6')
-sha512sums=('8e19b2713202efcf2c50e69547ac4673fdc108165c49fba1dd7143875282de9c33acfe2a9ce2f03f5d7d07b34178bbb0944c97637e09811aa3dc219f20e0c09f')
-_distdir="Text-Table-1.130"
+_verwatch=("http://www.cpan.org/modules/by-module/${_modnamespace}/" "${_perlmod}-\([0-9\.]*\)\.tar\.gz" 'l')
+_srcdir="${_perlmod}-${pkgver}"
+source=("${_verwatch[0]}${_perlmod}-${pkgver}.tar.gz")
+md5sums=('4f9ae72f4dd4c8f0b9471099663cac64')
+sha256sums=('cd9ee04860d09a19a9d6bd2254a4bf3144ac14a63c08f15a1e28601b4b2f7012')
+sha512sums=('fc9ebcb7accc07ec66bc8157a679d3905b06dfcf21560641b149c5930e527385ea2be45190190319c73f6d184e3d4f4ce5deaccf3da58b91f45a820e86fea2ac')
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
+ set -u
+ cd "${_srcdir}"
- cd "$srcdir/$_distdir"
- /usr/bin/perl Makefile.PL
- make
- )
+ # Install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl 'Makefile.PL' INSTALLDIRS='vendor'
+ make
+ set +u
}
+if [ "${#checkdepends[@]}" -ne 0 ]; then
check() {
- cd "$srcdir/$_distdir"
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- make test
- )
+ set -u
+ cd "${_srcdir}"
+ make test
+ set +u
}
+fi
package() {
- cd "$srcdir/$_distdir"
- make install
-
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+ set -u
+ cd "${_srcdir}"
+ make install DESTDIR="${pkgdir}"
+ find "${pkgdir}" '(' -name '.packlist' -o -name 'perllocal.pod' ')' -delete
+ set +u
}
+set +u
# Local Variables:
# mode: shell-script