summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c06f736db03eadc8c9eb9cd67f0b471080926990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=git-revise
pkgdesc="A git subcommand to efficiently update, split, and rearrange commits"
pkgver=0.4.2
pkgrel=2
arch=('any')
url="https://mystor.github.io/git-revise.html"
license=('MIT')
source=("https://files.pythonhosted.org/packages/source/g/git-revise/git-revise-$pkgver.tar.gz")
depends=('git' 'python')
makedepends=('python-setuptools')

package() {
  cd $srcdir/$pkgname-$pkgver
  sed --in-place s!man/man1!share/man/man1! setup.py
  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}

sha256sums=('7aa3c572afb88d08ac6c307fa480c011a233e87d2c04d44401b44b53117401d7')