diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -2,22 +2,28 @@ pkgname=ufodiff pkgver=1.0.3 -pkgrel=1 +pkgrel=2 pkgdesc='UFO source file diff application' arch=(any) url="https://github.com/source-foundry/$pkgname" -license=('MIT') -depends=('python' 'python-commandlines' 'python-gitdb' 'python-gitpython>=3.1.5' 'python-smmap' 'python-standardstreams') -makedepends=('python-setuptools') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +license=(MIT) +depends=(python + python-commandlines + python-gitdb + python-gitpython + python-smmap + python-standardstreams) +makedepends=(python-setuptools) +_archive="$pkgname-$pkgver" +source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('e549e7f3598c0cf0a6be207944fb632db0d834addb4cf202ee00967ceebd58dd') build() { - cd "$pkgname-$pkgver" + cd "$_archive" python setup.py build } package() { - cd "$pkgname-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + cd "$_archive" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |