diff options
author | Lahfa Samy | 2023-05-21 01:29:56 +0200 |
---|---|---|
committer | Lahfa Samy | 2023-05-21 01:29:56 +0200 |
commit | 1d887740cd8dd539b6f7e90cc110b97c11b973df (patch) | |
tree | d3e54f818209f69a376b0e0b3e1734add784e228 | |
parent | 58edfe9e899697e3a59dda9308a39fdb3cdc5671 (diff) | |
download | aur-1d887740cd8dd539b6f7e90cc110b97c11b973df.tar.gz |
Update dependencies from upstream
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 22 insertions, 13 deletions
@@ -1,11 +1,12 @@ pkgbase = unblob-git pkgdesc = Extract files from any kind of container formats - pkgver = 0.0.0.r859.g6901ae3 + pkgver = 0.0.0.r1226.g639ec9a pkgrel = 1 url = https://github.com/onekey-sec/unblob arch = any license = MIT makedepends = git + makedepends = git-lfs makedepends = python-build makedepends = python-installer makedepends = python-wheel @@ -18,17 +19,17 @@ pkgbase = unblob-git depends = python-dissect.cstruct depends = python-pyperscan depends = python-jefferson - depends = python-lark + depends = python-lark-parser depends = python-lief depends = python-lz4 depends = python-plotext depends = python-pluggy depends = python-python-lzo - depends = python-python-magic + depends = python-magic depends = python-rarfile depends = python-structlog depends = python-ubi-reader - source = git+https://github.com/onekey-sec/unblob.git - sha256sums = SKIP + depends = python-treelib + depends = python-blob-native pkgname = unblob-git @@ -2,7 +2,7 @@ pkgname=unblob-git _pkgname=${pkgname%-git} -pkgver=0.0.0.r859.g6901ae3 +pkgver=0.0.0.r1226.g639ec9a pkgrel=1 pkgdesc='Extract files from any kind of container formats' arch=(any) @@ -13,32 +13,40 @@ _py_deps=(arpy click cstruct dissect.cstruct - pyperscan # pyperscan replaces hyperscan + pyperscan # pyperscan replaces hyperscan (brings vectorscan too) # see : https://github.com/onekey-sec/unblob/pull/411#issuecomment-1555961215 jefferson - lark + lark-parser lief lz4 plotext pluggy python-lzo - python-magic + magic rarfile structlog - ubi-reader) + ubi-reader + treelib + blob-native) # yaffshiv removed see : https://github.com/onekey-sec/unblob/pull/513 depends=(python "${_py_deps[@]/#/python-}") makedepends=(git + git-lfs python-{build,installer,wheel} python-poetry) -source=("git+$url.git") -sha256sums=('SKIP') + +# git clone using source array +# Fails with git-lfs error +prepare() { + rm -rf $_pkgname + git clone $url $_pkgname +} pkgver() { cd "$_pkgname" git tag v0.0.0 1958a226e2ffe86262ddd5a8e8f87a0f98816cdf^ - git describe --long --abbrev=7 --tags --match="v*" | + git describe --long --abbrev=7 --tags --match="v*" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } |