archrelease: copy trunk to extra-x86_64
[arch-packages.git] / python-patiencediff / repos / extra-x86_64 / PKGBUILD
blob76323786be9f6f6b3b28aca06a634aaabe85bff3
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 pkgname=python-patiencediff
4 pkgver=0.2.13
5 pkgrel=2
6 pkgdesc='Patiencediff Python and C implementations'
7 arch=(x86_64)
8 url=https://www.breezy-vcs.org/
9 license=(GPL2)
10 depends=(python)
11 makedepends=(
12   git
13   python-setuptools
15 _tag=834fad2d280fa0634d00d658c61c15d82031f519
16 source=(git+https://github.com/breezy-team/patiencediff.git#tag=${_tag})
17 sha256sums=(SKIP)
19 pkgver() {
20   cd patiencediff
21   git describe --tags | sed 's/^v//'
24 build() {
25   cd patiencediff
26   python setup.py build
29 package() {
30   cd patiencediff
31   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
34 # vim: ts=2 sw=2 et: