[arch-commits] Commit in archivetools/trunk (PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Feb 8 20:42:55 UTC 2022


    Date: Tuesday, February 8, 2022 @ 20:42:55
  Author: foutrelis
Revision: 436604

upgpkg: archivetools 3-3: exclude debug packages

Also change the url and source to gitlab.archlinux.org.

Modified:
  archivetools/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-08 20:11:45 UTC (rev 436603)
+++ PKGBUILD	2022-02-08 20:42:55 UTC (rev 436604)
@@ -2,17 +2,23 @@
 
 pkgname=archivetools
 pkgver=3
-pkgrel=2
+pkgrel=3
 pkgdesc='Arch Linux Archive Tools'
 arch=('any')
-url='https://github.com/archlinux/archivetools'
+url='https://gitlab.archlinux.org/archlinux/archivetools'
 license=('GPL2')
 depends=('rsync' 'hardlink' 'xz' 'util-linux' 'systemd' 'bash')
 makedepends=('git')
 backup=('etc/archive.conf')
-source=("git+https://github.com/archlinux/archivetools#tag=v$pkgver")
+source=("git+https://gitlab.archlinux.org/archlinux/archivetools.git#tag=v$pkgver")
 md5sums=('SKIP')
 
+prepare() {
+  cd $pkgname
+  # archive.sh: Exclude debug packages during repo sync
+  git format-patch -1 --stdout 35e4faa80cb6 | patch -Np1
+}
+
 package() {
   cd $pkgname
   install -Dm644 archive.conf "$pkgdir/etc/archive.conf"



More information about the arch-commits mailing list