[arch-commits] Commit in stow/repos/community-any (5 files)
Sébastien Luttringer
seblu at nymeria.archlinux.org
Tue Jul 1 21:11:38 UTC 2014
Date: Tuesday, July 1, 2014 @ 23:11:37
Author: seblu
Revision: 114544
archrelease: copy trunk to community-any
Added:
stow/repos/community-any/01-fix-warning-message-perl5.20.patch
(from rev 114543, stow/trunk/01-fix-warning-message-perl5.20.patch)
stow/repos/community-any/PKGBUILD
(from rev 114543, stow/trunk/PKGBUILD)
stow/repos/community-any/stow.install
(from rev 114543, stow/trunk/stow.install)
Deleted:
stow/repos/community-any/PKGBUILD
stow/repos/community-any/stow.install
---------------------------------------+
01-fix-warning-message-perl5.20.patch | 13 ++++
PKGBUILD | 87 ++++++++++++++++++--------------
stow.install | 40 +++++++-------
3 files changed, 82 insertions(+), 58 deletions(-)
Copied: stow/repos/community-any/01-fix-warning-message-perl5.20.patch (from rev 114543, stow/trunk/01-fix-warning-message-perl5.20.patch)
===================================================================
--- 01-fix-warning-message-perl5.20.patch (rev 0)
+++ 01-fix-warning-message-perl5.20.patch 2014-07-01 21:11:37 UTC (rev 114544)
@@ -0,0 +1,13 @@
+# https://bugs.archlinux.org/task/40767
+# https://bbs.archlinux.org/viewtopic.php?pid=1423847
+--- a/lib/Stow.pm.in 2012-02-18 20:33:34.000000000 +0000
++++ b/lib/Stow.pm.in 2014-06-08 22:46:03.420893651 +0100
+@@ -1732,7 +1732,7 @@
+ }
+ elsif (-l $path) {
+ debug(4, " read_a_link($path): real link");
+- return readlink $path
++ (return readlink $path)
+ or error("Could not read link: $path");
+ }
+ internal_error("read_a_link() passed a non link path: $path\n");
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-01 21:11:22 UTC (rev 114543)
+++ PKGBUILD 2014-07-01 21:11:37 UTC (rev 114544)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: eric <eric at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-
-pkgname=stow
-pkgver=2.2.0
-pkgrel=2
-pkgdesc='Manage installation of multiple softwares in the same directory tree'
-url='http://www.gnu.org/software/stow/'
-arch=('any')
-source=("ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
-license=('GPL2')
-depends=('perl')
-makedepends=('texi2html')
-checkdepends=('perl-test-output')
-install=$pkgname.install
-md5sums=('902564d502975f353d3b0514a21863b1')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
- --with-pmdir=/usr/lib/perl5/vendor_perl/
- make
-}
-
-check() {
- cd $pkgname-$pkgver
- make check
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: stow/repos/community-any/PKGBUILD (from rev 114543, stow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-07-01 21:11:37 UTC (rev 114544)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+
+pkgname=stow
+pkgver=2.2.0
+pkgrel=3
+pkgdesc='Manage installation of multiple softwares in the same directory tree'
+url='http://www.gnu.org/software/stow/'
+arch=('any')
+license=('GPL2')
+depends=('perl')
+makedepends=('texi2html')
+checkdepends=('perl-test-output')
+install=$pkgname.install
+source=("ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+ '01-fix-warning-message-perl5.20.patch')
+md5sums=('902564d502975f353d3b0514a21863b1'
+ 'eef5f349057aea7dcbf6567a63f26096')
+
+prepare() {
+ patch -d $pkgname-$pkgver -p 1 < '01-fix-warning-message-perl5.20.patch'
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-pmdir=/usr/lib/perl5/vendor_perl/
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ # remove html doc
+ rm -r "$pkgdir/usr/share/doc/$pkgname"/{manual*,version.texi}
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: stow.install
===================================================================
--- stow.install 2014-07-01 21:11:22 UTC (rev 114543)
+++ stow.install 2014-07-01 21:11:37 UTC (rev 114544)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(stow.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in "${filelist[@]}"; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in "${filelist[@]}"; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
Copied: stow/repos/community-any/stow.install (from rev 114543, stow/trunk/stow.install)
===================================================================
--- stow.install (rev 0)
+++ stow.install 2014-07-01 21:11:37 UTC (rev 114544)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(stow.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in "${filelist[@]}"; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in "${filelist[@]}"; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
More information about the arch-commits
mailing list