32 lines
876 B
Bash
32 lines
876 B
Bash
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
|
|
|
|
_realname=patiencediff
|
|
pkgname="python-${_realname}"
|
|
pkgver=0.2.1
|
|
pkgrel=2
|
|
pkgdesc='Patiencediff Python and C implementations'
|
|
arch=('i686' 'x86_64')
|
|
url='https://www.breezy-vcs.org/'
|
|
license=('GPL2')
|
|
depends=('python')
|
|
makedepends=('python-setuptools' 'python-devel')
|
|
source=("${_realname}-${pkgver}.tar.gz"::https://github.com/breezy-team/patiencediff/archive/v${pkgver}.tar.gz)
|
|
sha256sums=('cde3ece054837358d3c64b8fd18d3e15ead5b07d8f6d20bdfacce92d8725e506')
|
|
|
|
prepare(){
|
|
cd "${srcdir}/${_realname}-${pkgver}"
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${_realname}-${pkgver}"
|
|
/usr/bin/python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_realname}-${pkgver}"
|
|
|
|
/usr/bin/python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
|
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|