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

Bruno Pagani archange at archlinux.org
Sun Oct 27 13:52:12 UTC 2019


    Date: Sunday, October 27, 2019 @ 13:52:11
  Author: archange
Revision: 520748

Fix FS#62202 and use git blob tag

Modified:
  etckeeper/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-27 13:45:20 UTC (rev 520747)
+++ PKGBUILD	2019-10-27 13:52:11 UTC (rev 520748)
@@ -5,24 +5,25 @@
 
 pkgname=etckeeper
 pkgver=1.18.10
-pkgrel=1
-pkgdesc='collection of tools to let /etc be stored in a git, hg or bzr repository'
-arch=('any')
-url='https://etckeeper.branchable.com/'
-license=('GPL2')
-depends=('git')
-makedepends=('mercurial' 'bzr')
+pkgrel=2
+pkgdesc="Collection of tools to let /etc be stored in a git, hg or bzr repository."
+arch=(any)
+url="https://etckeeper.branchable.com/"
+license=(GPL2)
+depends=(git diffutils inetutils sed)
+makedepends=(python2 mercurial bzr)
 optdepends=('mercurial: use mercurial for version control'
-	'bzr: use bazaar for version control')
+        	'bzr: use bazaar for version control')
 backup=('etc/etckeeper/etckeeper.conf')
-validpgpkeys=('E85A5F63B31D24C1EBF0D81CC910D9222512E3C7') # Joey Hess <joeyh at joeyh.name>
-source=("git+https://git.kitenet.net/git/etckeeper.git#tag=${pkgver}?signed")
-sha256sums=('SKIP')
+_tag=395272b2600139777fdcaa2ff9a73c094d54cdcd # git rev-parse ${pkgver}
+source=("git+https://git.kitenet.net/git/etckeeper.git#tag=${_tag}?signed")
+sha256sums=(SKIP)
+validpgpkeys=(E85A5F63B31D24C1EBF0D81CC910D9222512E3C7) # Joey Hess <joeyh at joeyh.name>
 
 build() {
-	cd "${srcdir}/etckeeper/"
+	cd ${pkgname}
 
-	# fix python
+	# Fix python name
 	sed -i '/^PYTHON=/c PYTHON=python2' Makefile
 	sed -i '1s/python/python2/' zypper-etckeeper.py
 
@@ -32,8 +33,6 @@
 }
 
 package() {
-	cd "${srcdir}/etckeeper/"
-
+	cd ${pkgname}
 	make DESTDIR="${pkgdir}" systemddir=/usr/lib/systemd/system install
 }
-



More information about the arch-commits mailing list