Node.js 8.17.0

Minor edits.
master
willemw12 2021-07-08 18:48:02 +02:00
parent ddfdbdda17
commit a781c78eb8
2 changed files with 10 additions and 16 deletions

View File

@ -1,6 +1,6 @@
pkgbase = cpod-git pkgbase = cpod-git
pkgdesc = A simple, beautiful podcast app pkgdesc = A simple, beautiful podcast app
pkgver = 1.27.1.r56.g581cd25 pkgver = 1.27.1.r72.g5600080
pkgrel = 1 pkgrel = 1
url = https://github.com/z-------------/CPod url = https://github.com/z-------------/CPod
arch = x86_64 arch = x86_64
@ -17,4 +17,3 @@ pkgbase = cpod-git
sha256sums = SKIP sha256sums = SKIP
pkgname = cpod-git pkgname = cpod-git

View File

@ -1,8 +1,7 @@
# Maintainer: willemw <willemw12@gmail.com> # Maintainer: willemw <willemw12@gmail.com>
_pkgname=cpod pkgname=cpod-git
pkgname=$_pkgname-git pkgver=1.27.1.r72.g5600080
pkgver=1.27.1.r56.g581cd25
pkgrel=1 pkgrel=1
pkgdesc="A simple, beautiful podcast app" pkgdesc="A simple, beautiful podcast app"
arch=('x86_64') arch=('x86_64')
@ -10,20 +9,18 @@ url="https://github.com/z-------------/CPod"
license=('Apache') license=('Apache')
depends=('gconf') depends=('gconf')
makedepends=('git' 'gulp' 'nvm' 'yarn') makedepends=('git' 'gulp' 'nvm' 'yarn')
provides=($_pkgname) provides=("${pkgname%-git}")
conflicts=($_pkgname) conflicts=("${pkgname%-git}")
replaces=('cumulonimbus') replaces=('cumulonimbus')
source=($pkgname::git+https://github.com/z-------------/CPod.git) source=($pkgname::git+$url.git)
sha256sums=('SKIP') sha256sums=('SKIP')
# For the Node.js version used by CPod, see: .travis.yml (dist: and node_js:) # For the Node.js version used by CPod, see file .travis.yml ("dist:" and "node_js:")
# For a list of all Node.js versions, run: source /usr/share/nvm/init-nvm.sh ; nvm ls-remote # For a list of all Node.js versions, run in Bash: source /usr/share/nvm/init-nvm.sh ; nvm ls-remote
#_nodejsver=0.10.25 _nodejsver=8.17.0
_nodejsver=8.16.0
pkgver() { pkgver() {
cd $pkgname git -C $pkgname describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
} }
build() { build() {
@ -39,7 +36,6 @@ build() {
nvm use $_nodejsver nvm use $_nodejsver
yarn yarn
gulp gulp
} }
@ -51,7 +47,6 @@ package() {
cd dist cd dist
bsdtar xf CPod_*.deb data.tar.xz bsdtar xf CPod_*.deb data.tar.xz
bsdtar xf data.tar.xz --directory "$pkgdir" bsdtar xf data.tar.xz --directory "$pkgdir"
install -dm755 "$pkgdir/usr/bin" install -dm755 "$pkgdir/usr/bin"
ln -sf /opt/CPod/cpod "$pkgdir/usr/bin/cpod" ln -sf /opt/CPod/cpod "$pkgdir/usr/bin/cpod"
} }