[arch-commits] Commit in zshdb/trunk (2 files)

Lukas Fleischer lfleischer at archlinux.org
Tue Oct 1 15:03:05 UTC 2019


    Date: Tuesday, October 1, 2019 @ 15:03:05
  Author: lfleischer
Revision: 512347

upgpkg: zshdb 1.0.1-1

Upstream update.

Modified:
  zshdb/trunk/PKGBUILD
Deleted:
  zshdb/trunk/94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch

------------------------------------------------+
 94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch |   26 -----------------------
 PKGBUILD                                       |   18 +++++----------
 2 files changed, 6 insertions(+), 38 deletions(-)

Deleted: 94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch
===================================================================
--- 94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch	2019-10-01 14:58:55 UTC (rev 512346)
+++ 94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch	2019-10-01 15:03:05 UTC (rev 512347)
@@ -1,26 +0,0 @@
-From 94b389a3301ec5b644b0b396e32d29fd27aa0a91 Mon Sep 17 00:00:00 2001
-From: "Iain R. Learmonth" <irl at fsfe.org>
-Date: Wed, 30 Aug 2017 23:12:24 +0100
-Subject: [PATCH] Fix test for funcfiletrace on later zshdb in ok4zshdb.sh
- (Closes: #9)
-
-funcfiletrace is no longer listed in the output of declare -p.
----
- test/zsh/ok4zshdb.sh | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/test/zsh/ok4zshdb.sh b/test/zsh/ok4zshdb.sh
-index 97c777d..bf87f6f 100755
---- a/test/zsh/ok4zshdb.sh
-+++ b/test/zsh/ok4zshdb.sh
-@@ -4,8 +4,8 @@ PS4='%(%x:%I): [%?]
- '
- 
- second_fn() {
--  decls=$(declare -p)
--  if [[ $decls != *funcfiletrace* ]] ; then
-+  zmodload zsh/parameter
-+  if ! (( ${+funcfiletrace} )) ; then
-     print "Looks like you don't have funcfiletrace."
-     print "We need a zsh new enough which has that."
-     exit 10

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-01 14:58:55 UTC (rev 512346)
+++ PKGBUILD	2019-10-01 15:03:05 UTC (rev 512347)
@@ -2,7 +2,7 @@
 # Contributor: noonov <noonov at gmail.com>
 
 pkgname=zshdb
-pkgver=0.92
+pkgver=1.0.1
 pkgrel=1
 pkgdesc='A debugger for zsh scripts.'
 arch=('any')
@@ -10,24 +10,18 @@
 license=('GPL')
 depends=('zsh')
 optdepends=('python-pygments: for syntax highlighting')
-source=("https://downloads.sourceforge.net/sourceforge/bashdb/${pkgname}-${pkgver}.tar.gz"
-        94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch)
-md5sums=('4478f2916b8f9c1dc6af474daa195809'
-         '6f1ab3b6269065c54d5bb8c56c47f4c5')
+source=("https://github.com/rocky/$pkgname/archive/release-$pkgver.tar.gz")
+md5sums=('2610e89a892c870035936d7744704297')
 
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -p1 -i ../94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch
-}
-
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/${pkgname}-release-${pkgver}"
 
+  ./autogen.sh
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/${pkgname}-release-${pkgver}"
   make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list