archrelease: copy trunk to extra-x86_64
[arch-packages.git] / python-patiencediff / trunk / PKGBUILD
blobec06250f0464f5125e00082aa8805a0b13a0ecb7
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 pkgname=python-patiencediff
4 pkgver=0.2.2
5 pkgrel=3
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=e287b9397072399b3c8c902a660c71e17e2c2325
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: