27 lines
782 B
Bash
27 lines
782 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=python-patiencediff
|
|
pkgver=0.2.1
|
|
pkgrel=1
|
|
pkgdesc="Patiencediff Python and C implementations"
|
|
arch=('i686' 'x86_64')
|
|
url='https://www.breezy-vcs.org/'
|
|
license=('GPL-2')
|
|
depends=('python')
|
|
makedepends=('python-setuptools')
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/breezy-team/patiencediff/archive/refs/tags/v${pkgver}.tar.gz")
|
|
sha512sums=('e810af3a6e973cd24ee713aaf55b31f5e0cc5e2f52ebca23e9a92447e565414450093f0c591a381b423902976196b126d08b42c4a94ca7463c2936691c0005f8')
|
|
|
|
build() {
|
|
cd patiencediff-$pkgver
|
|
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd patiencediff-$pkgver
|
|
|
|
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
|
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
}
|