diff options
author | Viktor Drobot | 2022-01-26 15:11:28 +0300 |
---|---|---|
committer | Viktor Drobot | 2022-01-26 15:11:28 +0300 |
commit | 24269143399b9c68949a4d19e3debf58ed02ca85 (patch) | |
tree | 347cd36fd3439dde9eeed7ff98f958d818094953 | |
parent | acaca10aed3f6c732a2092bdbeb0bde387e739ea (diff) | |
download | aur-meteor-rectify-git.tar.gz |
Fix pkgbuild
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 12 insertions, 11 deletions
@@ -12,7 +12,6 @@ pkgbase = meteor-rectify-git provides = meteor-rectify conflicts = meteor-rectify source = meteor-rectify-git::git+https://github.com/dbdexter-dev/meteor_rectify.git - sha1sums = SKIP + sha256sums = SKIP pkgname = meteor-rectify-git - @@ -5,21 +5,23 @@ pkgver=r5.fbab338 pkgrel=1 pkgdesc="Meteor-M2 image rectifier " arch=(any) -license=('MIT') +license=(MIT) url="https://github.com/dbdexter-dev/meteor_rectify" -depends=('python' 'python-pillow' 'python-numpy') -makedepends=('git') -provides=('meteor-rectify') -conflicts=('meteor-rectify') -source=("$pkgname::git+https://github.com/dbdexter-dev/meteor_rectify.git") -sha1sums=('SKIP') +depends=(python python-pillow python-numpy) +makedepends=(git) +provides=(meteor-rectify) +conflicts=(meteor-rectify) +source=("${pkgname}::git+https://github.com/dbdexter-dev/meteor_rectify.git") +sha256sums=('SKIP') pkgver() { cd "${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { - cd ${pkgname} - install -Dm755 rectify.py ${pkgdir}/usr/bin/meteor-rectify + cd "${pkgname}" + + install -Dm755 rectify.py "${pkgdir}/usr/bin/meteor_rectify" } |