summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ee070f095921fe73495fbb7e26df7894627bc64f (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.5.1
pkgrel=1
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=('c1698eac93a8f0aea454a0d65f51e92ab32f946d893ef2b43fd78000c0837d50')