Date: Wednesday, July 22, 2020 @ 09:31:06
  Author: jelle
Revision: 392352

upgpkg: asp 5-3

Added:
  asp/trunk/use-github-git.patch
Modified:
  asp/trunk/PKGBUILD

----------------------+
 PKGBUILD             |   11 ++++++++---
 use-github-git.patch |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-07-22 06:48:17 UTC (rev 392351)
+++ PKGBUILD    2020-07-22 09:31:06 UTC (rev 392352)
@@ -2,7 +2,7 @@
 
 pkgname=asp
 pkgver=5
-pkgrel=2
+pkgrel=3
 pkgdesc="Arch Linux build source file management tool"
 arch=(any)
 url="https://github.com/falconindy/asp";
@@ -9,10 +9,15 @@
 license=(MIT)
 depends=(awk bash jq git libarchive)
 makedepends=(asciidoc)
-source=("git+https://github.com/falconindy/asp?signed#tag=v$pkgver";)
+source=("git+https://github.com/falconindy/asp?signed#tag=v$pkgver"; 
"use-github-git.patch")
 validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53')  # Dave Reisner
-md5sums=('SKIP')
+md5sums=('SKIP'
+         '106dfaab78c23fdf863ece9516cb0453')
 
+prepare() {
+  patch -Np0 -i ${srcdir}/use-github-git.patch
+}
+
 build() {
   make -C asp
 }

Added: use-github-git.patch
===================================================================
--- use-github-git.patch                                (rev 0)
+++ use-github-git.patch        2020-07-22 09:31:06 UTC (rev 392352)
@@ -0,0 +1,33 @@
+diff -aur asp.old/asp.in asp/asp.in
+--- asp.old/asp.in     2020-07-22 00:44:08.805544581 +0200
++++ asp/asp.in 2020-07-22 00:45:13.875934993 +0200
+@@ -132,7 +132,7 @@
+   if [[ ! -f $ASPROOT/.asp ]]; then
+     git init -q "$ASPROOT" || return 1
+     for remote in "${ARCH_GIT_REPOS[@]}"; do
+-      git remote add "$remote" 
"https://git.archlinux.org/svntogit/$remote.git"; || return 1
++      git remote add "$remote" 
"https:///github.com/archlinux/svntogit-$remote.git"; || return 1
+     done
+ 
+     touch "$ASPROOT/.asp" || return 1
+@@ -300,7 +300,7 @@
+   esac
+ 
+   for remote in "${ARCH_GIT_REPOS[@]}"; do
+-    git remote set-url "$remote" "$1://git.archlinux.org/svntogit/$remote.git"
++    git remote set-url "$remote" 
"$1:///github.com/archlinux/svntogit-$remote.git"
+   done
+ }
+ 
+diff -aur asp.old/man/asp.1.txt asp/man/asp.1.txt
+--- asp.old/man/asp.1.txt      2020-07-22 00:44:08.805544581 +0200
++++ asp/man/asp.1.txt  2020-07-22 00:46:13.996296652 +0200
+@@ -16,7 +16,7 @@
+ -----------
+ Manage the version-controlled sources for the build scripts used to create 
Arch
+ Linux packages. This program provides a thin wrapper over the svntogit
+-repositories hosted at https://git.archlinux.org. It aims to provide a
++repositories hosted at https://github.com/archlinux. It aims to provide a
+ replacement for abs which favors a sparse checkout.
+ 
+ Commands

Reply via email to