[arch-commits] Commit in asp/repos/extra-any (PKGBUILD PKGBUILD use-github-git.patch)

Jelle van der Waa jelle at archlinux.org
Wed Jul 22 09:31:12 UTC 2020


    Date: Wednesday, July 22, 2020 @ 09:31:12
  Author: jelle
Revision: 392353

archrelease: copy trunk to extra-any

Added:
  asp/repos/extra-any/PKGBUILD
    (from rev 392352, asp/trunk/PKGBUILD)
  asp/repos/extra-any/use-github-git.patch
    (from rev 392352, asp/trunk/use-github-git.patch)
Deleted:
  asp/repos/extra-any/PKGBUILD

----------------------+
 PKGBUILD             |   55 ++++++++++++++++++++++++++-----------------------
 use-github-git.patch |   33 +++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-22 09:31:06 UTC (rev 392352)
+++ PKGBUILD	2020-07-22 09:31:12 UTC (rev 392353)
@@ -1,25 +0,0 @@
-# Maintainer: Dave Reisner <d at falconindy.com>
-
-pkgname=asp
-pkgver=5
-pkgrel=2
-pkgdesc="Arch Linux build source file management tool"
-arch=(any)
-url="https://github.com/falconindy/asp"
-license=(MIT)
-depends=(awk bash jq git libarchive)
-makedepends=(asciidoc)
-source=("git+https://github.com/falconindy/asp?signed#tag=v$pkgver")
-validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53')  # Dave Reisner
-md5sums=('SKIP')
-
-build() {
-  make -C asp
-}
-
-package() {
-  make -C asp PREFIX=/usr DESTDIR="$pkgdir" install
-  install -Dm644 asp/LICENSE "$pkgdir/usr/share/licenses/asp/LICENSE"
-}
-
-# vim: ft=sh syn=sh et

Copied: asp/repos/extra-any/PKGBUILD (from rev 392352, asp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-22 09:31:12 UTC (rev 392353)
@@ -0,0 +1,30 @@
+# Maintainer: Dave Reisner <d at falconindy.com>
+
+pkgname=asp
+pkgver=5
+pkgrel=3
+pkgdesc="Arch Linux build source file management tool"
+arch=(any)
+url="https://github.com/falconindy/asp"
+license=(MIT)
+depends=(awk bash jq git libarchive)
+makedepends=(asciidoc)
+source=("git+https://github.com/falconindy/asp?signed#tag=v$pkgver" "use-github-git.patch")
+validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53')  # Dave Reisner
+md5sums=('SKIP'
+         '106dfaab78c23fdf863ece9516cb0453')
+
+prepare() {
+  patch -Np0 -i ${srcdir}/use-github-git.patch
+}
+
+build() {
+  make -C asp
+}
+
+package() {
+  make -C asp PREFIX=/usr DESTDIR="$pkgdir" install
+  install -Dm644 asp/LICENSE "$pkgdir/usr/share/licenses/asp/LICENSE"
+}
+
+# vim: ft=sh syn=sh et

Copied: asp/repos/extra-any/use-github-git.patch (from rev 392352, asp/trunk/use-github-git.patch)
===================================================================
--- use-github-git.patch	                        (rev 0)
+++ use-github-git.patch	2020-07-22 09:31:12 UTC (rev 392353)
@@ -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



More information about the arch-commits mailing list