[arch-commits] Commit in zsh/trunk (PKGBUILD zsh-doc.install)

Pierre Schmitz pierre at archlinux.org
Sun Nov 20 09:58:20 UTC 2016


    Date: Sunday, November 20, 2016 @ 09:58:19
  Author: pierre
Revision: 281654

upgpkg: zsh 5.2-2

Modified:
  zsh/trunk/PKGBUILD
Deleted:
  zsh/trunk/zsh-doc.install

-----------------+
 PKGBUILD        |    9 +++++----
 zsh-doc.install |   20 --------------------
 2 files changed, 5 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-20 09:38:11 UTC (rev 281653)
+++ PKGBUILD	2016-11-20 09:58:19 UTC (rev 281654)
@@ -4,17 +4,19 @@
 pkgbase=zsh
 pkgname=('zsh' 'zsh-doc')
 pkgver=5.2
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://www.zsh.org/'
 license=('custom')
 makedepends=('pcre' 'libcap' 'gdbm')
-source=("http://www.zsh.org/pub/zsh-${pkgver}.tar.xz"
-        "http://www.zsh.org/pub/zsh-${pkgver}-doc.tar.xz"
+source=("https://www.zsh.org/pub/zsh-${pkgver}"{,-doc}".tar.xz"{,.asc}
         'zprofile')
 md5sums=('afe96fde08b70e23c1cab1ca7a68fb34'
+         'SKIP'
          '873f1ade1fa5d0d15f9cba16d3ba5f98'
+         'SKIP'
          '24a9335edf77252a7b5f52e079f7aef7')
+validpgpkeys=('F7B2754C7DE2830914661F0EA71D9A9D4BDB27B3')
 
 prepare() {
 	cd "${srcdir}/${pkgbase}-${pkgver}"
@@ -77,7 +79,6 @@
 
 package_zsh-doc() {
 	pkgdesc='Info, HTML and PDF format of the ZSH documentation'
-	install=zsh-doc.install
 
 	cd "${srcdir}/${pkgbase}-${pkgver}"
 	make DESTDIR="${pkgdir}/" install.info install.html

Deleted: zsh-doc.install
===================================================================
--- zsh-doc.install	2016-11-20 09:38:11 UTC (rev 281653)
+++ zsh-doc.install	2016-11-20 09:58:19 UTC (rev 281654)
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(zsh.info zsh.info-1 zsh.info-2 zsh.info-3 zsh.info-4 zsh.info-5 zsh.info-6)
-
-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
-}
-
-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