[arch-commits] Commit in git-filter-repo/repos (2 files)
Alexander Epaneshnikov
alex19ep at gemini.archlinux.org
Sat Dec 4 19:42:45 UTC 2021
Date: Saturday, December 4, 2021 @ 19:42:45
Author: alex19ep
Revision: 1065073
archrelease: copy trunk to community-staging-any
Added:
git-filter-repo/repos/community-staging-any/
git-filter-repo/repos/community-staging-any/PKGBUILD
(from rev 1065072, git-filter-repo/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: git-filter-repo/repos/community-staging-any/PKGBUILD (from rev 1065072, git-filter-repo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-04 19:42:45 UTC (rev 1065073)
@@ -0,0 +1,32 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+
+pkgname=git-filter-repo
+pkgver=2.34.0
+pkgrel=1
+pkgdesc="Quickly rewrite git repository history (filter-branch replacement)"
+arch=("any")
+url="https://github.com/newren/git-filter-repo"
+license=("MIT")
+depends=("git" "python")
+makedepends=("python-setuptools-scm")
+checkdepends=('rsync')
+source=(
+ "$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"
+)
+sha256sums=('b1bf46af1e6a91a54056d0254e480803db8e40f631336c559a1a94d2a08389c4')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+check() {
+ cd "$pkgname-$pkgver"
+ ./t/run_tests
+}
+
+package() {
+ cd "$pkgname-$pkgver/release"
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ cd ..
+ install -Dm644 Documentation/man1/git-filter-repo.1 "$pkgdir/usr/share/man/man1/git-filter-repo.1"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING COPYING.mit
+}
More information about the arch-commits
mailing list