[arch-commits] Commit in git-revise/repos (community-any community-any/PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Sat Oct 9 07:11:08 UTC 2021


    Date: Saturday, October 9, 2021 @ 07:11:08
  Author: alerque
Revision: 1028123

archrelease: copy trunk to community-any

Added:
  git-revise/repos/community-any/
  git-revise/repos/community-any/PKGBUILD
    (from rev 1028122, git-revise/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: git-revise/repos/community-any/PKGBUILD (from rev 1028122, git-revise/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-10-09 07:11:08 UTC (rev 1028123)
@@ -0,0 +1,27 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Simon Legner <Simon.Legner at gmail.com>
+
+pkgname=git-revise
+pkgdesc='A git subcommand to efficiently update, split, and rearrange commits'
+pkgver=0.6.0
+pkgrel=3
+url="https://mystor.github.io/git-revise.html"
+arch=(any)
+license=(MIT)
+depends=(git
+         python)
+makedepends=(python-setuptools)
+_archive="$pkgname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz")
+sha256sums=('21e89eba6602e8bea38b34ac6ec747acba2aee876f2e73ca0472476109e82bf4')
+
+build() {
+	cd "$_archive"
+	python setup.py build
+}
+
+package() {
+	cd "$_archive"
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+	install -Dm0755 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}



More information about the arch-commits mailing list