vdhcoapp-git: auto updated to 2.0.19.r4.g0b40d3e-4
This commit is contained in:
parent
902fa01424
commit
95a0e6b526
|
@ -3,7 +3,7 @@
|
||||||
_pkgname="vdhcoapp"
|
_pkgname="vdhcoapp"
|
||||||
pkgname="$_pkgname-git"
|
pkgname="$_pkgname-git"
|
||||||
pkgver=2.0.19.r4.g0b40d3e
|
pkgver=2.0.19.r4.g0b40d3e
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="Companion application for Video DownloadHelper browser add-on"
|
pkgdesc="Companion application for Video DownloadHelper browser add-on"
|
||||||
url="https://github.com/aclap-dev/vdhcoapp"
|
url="https://github.com/aclap-dev/vdhcoapp"
|
||||||
license=('GPL-2.0-or-later')
|
license=('GPL-2.0-or-later')
|
||||||
|
@ -18,15 +18,15 @@ makedepends=(
|
||||||
'nvm'
|
'nvm'
|
||||||
)
|
)
|
||||||
|
|
||||||
options=(!strip emptydirs)
|
options=('emptydirs' '!strip' '!debug')
|
||||||
install="$_pkgname.install"
|
install="$_pkgname.install"
|
||||||
|
|
||||||
provides=("$_pkgname=${pkgver%%.r*}")
|
provides=("$_pkgname=${pkgver%%.r*}")
|
||||||
conflicts=("$_pkgname")
|
conflicts=("$_pkgname")
|
||||||
|
|
||||||
_pkgsrc="$_pkgname"
|
_pkgsrc="$_pkgname"
|
||||||
source+=("$_pkgsrc"::"git+$url.git")
|
source=("$_pkgsrc"::"git+$url.git")
|
||||||
sha256sums+=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$_pkgsrc"
|
cd "$_pkgsrc"
|
||||||
|
@ -51,11 +51,23 @@ source+=("$_filepicker_pkgsrc"::"git+$_filepicker_url.git")
|
||||||
sha256sums+=('SKIP')
|
sha256sums+=('SKIP')
|
||||||
|
|
||||||
_cargo_env() {
|
_cargo_env() {
|
||||||
export CARGO_HOME="${CARGO_HOME:-$SRCDEST/cargo-home}"
|
export CARGO_HOME="$SRCDEST/cargo-home"
|
||||||
export RUSTUP_TOOLCHAIN=${RUSTUP_TOOLCHAIN:-stable}
|
export RUSTUP_TOOLCHAIN=stable
|
||||||
export CARGO_TARGET_DIR=target
|
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() {
|
_filepicker_prepare() {
|
||||||
_cargo_env
|
_cargo_env
|
||||||
|
|
||||||
|
@ -82,7 +94,7 @@ prepare() {
|
||||||
tomlq . ./config.toml \
|
tomlq . ./config.toml \
|
||||||
| jq '.target.os = "linux"' \
|
| jq '.target.os = "linux"' \
|
||||||
| jq '.target.arch = "amd64"' \
|
| jq '.target.arch = "amd64"' \
|
||||||
> src/config.json
|
> src/config.json
|
||||||
|
|
||||||
# fix path to config.json
|
# fix path to config.json
|
||||||
sed -E -i src/main.js src/native-autoinstall.js \
|
sed -E -i src/main.js src/native-autoinstall.js \
|
||||||
|
@ -92,15 +104,7 @@ prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
: ${_nodeversion:=18}
|
_nvm_env
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
# build
|
# build
|
||||||
cd "$_pkgsrc"
|
cd "$_pkgsrc"
|
||||||
|
|
|
@ -1,14 +1,7 @@
|
||||||
# Maintainer:
|
# Maintainer:
|
||||||
|
|
||||||
# options
|
|
||||||
: ${_build_git:=false}
|
|
||||||
|
|
||||||
unset _pkgtype
|
|
||||||
[[ "${_build_git::1}" == "t" ]] && _pkgtype+="-git"
|
|
||||||
|
|
||||||
# basic info
|
|
||||||
_pkgname=vdhcoapp-filepicker
|
_pkgname=vdhcoapp-filepicker
|
||||||
pkgname="$_pkgname${_pkgtype:-}"
|
pkgname="$_pkgname"
|
||||||
pkgver=1.0.1
|
pkgver=1.0.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Filepicker for VDHCoApp" # added in 2.0.16
|
pkgdesc="Filepicker for VDHCoApp" # added in 2.0.16
|
||||||
|
|
Loading…
Reference in a new issue