Date: Thursday, April 6, 2023 @ 13:31:55
Author: felixonmars
Revision: 1438917
archrelease: copy trunk to community-staging-any
Added:
git-revise/repos/community-staging-any/
git-revise/repos/community-staging-any/PKGBUILD
(from rev 1438915, git-revise/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: git-revise/repos/community-staging-any/PKGBUILD (from rev 1438915,
git-revise/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 13:31:55 UTC (rev 1438917)
@@ -0,0 +1,28 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Simon Legner <[email protected]>
+
+pkgname=git-revise
+pkgdesc='A git subcommand to efficiently update, split, and rearrange commits'
+pkgver=0.7.0
+pkgrel=3
+url="https://mystor.github.io/$pkgname.html"
+arch=(any)
+license=(MIT)
+depends=(git
+ python)
+makedepends=(python-{build,installer,wheel}
+ python-setuptools)
+_archive="$pkgname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz")
+sha256sums=('af92ca2e7224c5e7ac2e16ed2f302dd36839a33521655c20fe0b7d693a1dc4c4')
+
+build() {
+ cd "$_archive"
+ python -m build -wn
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}