vdhcoapp-git: auto updated to 2.0.19.r4.g0b40d3e-4

This commit is contained in:
Lilac 2024-05-30 23:03:32 +00:00
parent 902fa01424
commit 95a0e6b526
2 changed files with 21 additions and 24 deletions

View file

@ -3,7 +3,7 @@
_pkgname="vdhcoapp"
pkgname="$_pkgname-git"
pkgver=2.0.19.r4.g0b40d3e
pkgrel=3
pkgrel=4
pkgdesc="Companion application for Video DownloadHelper browser add-on"
url="https://github.com/aclap-dev/vdhcoapp"
license=('GPL-2.0-or-later')
@ -18,15 +18,15 @@ makedepends=(
'nvm'
)
options=(!strip emptydirs)
options=('emptydirs' '!strip' '!debug')
install="$_pkgname.install"
provides=("$_pkgname=${pkgver%%.r*}")
conflicts=("$_pkgname")
_pkgsrc="$_pkgname"
source+=("$_pkgsrc"::"git+$url.git")
sha256sums+=('SKIP')
source=("$_pkgsrc"::"git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgsrc"
@ -51,11 +51,23 @@ source+=("$_filepicker_pkgsrc"::"git+$_filepicker_url.git")
sha256sums+=('SKIP')
_cargo_env() {
export CARGO_HOME="${CARGO_HOME:-$SRCDEST/cargo-home}"
export RUSTUP_TOOLCHAIN=${RUSTUP_TOOLCHAIN:-stable}
export CARGO_HOME="$SRCDEST/cargo-home"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
}
_nvm_env() {
: ${_nodeversion:=18}
export HOME="$SRCDEST/node-home"
export NVM_DIR="$SRCDEST/node-nvm"
# set up nvm
source /usr/share/nvm/init-nvm.sh || [[ $? != 1 ]]
nvm install $_nodeversion
nvm use $_nodeversion
}
_filepicker_prepare() {
_cargo_env
@ -92,15 +104,7 @@ prepare() {
}
build() {
: ${_nodeversion:=18}
export HOME="$srcdir/node-home"
export NVM_DIR="$SRCDEST/node-nvm"
# set up nvm
source /usr/share/nvm/init-nvm.sh || [[ $? != 1 ]]
nvm install $_nodeversion
nvm use $_nodeversion
_nvm_env
# build
cd "$_pkgsrc"

View file

@ -1,14 +1,7 @@
# Maintainer:
# options
: ${_build_git:=false}
unset _pkgtype
[[ "${_build_git::1}" == "t" ]] && _pkgtype+="-git"
# basic info
_pkgname=vdhcoapp-filepicker
pkgname="$_pkgname${_pkgtype:-}"
pkgname="$_pkgname"
pkgver=1.0.1
pkgrel=1
pkgdesc="Filepicker for VDHCoApp" # added in 2.0.16