diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,23 +2,23 @@ _pyname=ubi_reader pkgname=python-${_pyname//_/-}-git -pkgver=v0.8.6.r2.gdc9075c +pkgver=0.8.9.r2.gcc7225e pkgrel=1 pkgdesc='Scripts for reading information about and extracting data from UBI and UBIFS images.' arch=('any') url="https://github.com/onekey-sec/$_pyname" license=(GPL) depends=(python) -conflicts=() -provides=(python-ubi-reader) -makedepends=(git python-pip python-build python-installer python-wheel python-setuptools python-poetry) +conflicts=(python-ubi-reader) +provides=("python-ubi-reader=${pkgver%.r*}") +makedepends=(git python-build python-installer python-wheel python-setuptools python-poetry) checkdepends=(python-pytest python-pytest-cov) source=("git+https://github.com/onekey-sec/$_pyname") sha256sums=(SKIP) pkgver() { cd "$_pyname" - git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed -E "s/v([^v]*)/\1/" | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { |