Skip to content

Commit

Permalink
pgkbuild ver bump
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed May 25, 2021
1 parent 43989d3 commit 50ae155
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=obs-backgroundremoval
pkgver=0.2.4_beta
pkgver=0.2.5_beta
_ONNXRUNTIME_FILE=onnxruntime-linux-x64-1.7.0.tgz
_onnxdir=onnxruntime-linux-x64-1.7.0
_bgdir=$pkgname-${pkgver//_/-}
Expand All @@ -18,10 +18,6 @@ sha256sums=('5e66cfc45827581bc8da50a775d3e8601beb4aec72d42f0efc4d3e403161ddc1'
prepare() {
# build from archive, not git. Version set during build()
sed -i "s/^version_from_git/#&/" $_bgdir/CMakeLists.txt
# fix models listed in cmake
sed -i '/^.*file(GLOB/i file(GLOB onnxmodels data/*.onnx)' $_bgdir/CMakeLists.txt
sed -i 's/"data\/SINet_Softmax.onnx"/${onnxmodels}/' $_bgdir/CMakeLists.txt

}

build() {
Expand Down

0 comments on commit 50ae155

Please sign in to comment.