diff options
author | zxp19821005 | 2024-06-17 05:13:52 +0800 |
---|---|---|
committer | zxp19821005 | 2024-06-17 05:13:52 +0800 |
commit | 5948317cd8ad884e2766ddade3b9563f7135ff37 (patch) | |
tree | 51c75d88a0937afc0a07a234323e4d6d963553de | |
parent | a3230f48eab94172bef69822008646373c771b74 (diff) | |
download | aur-5948317cd8ad884e2766ddade3b9563f7135ff37.tar.gz |
update to 1.0.0.r1.g7645172
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = bytebackup-git pkgdesc = A Simple File Backup Utility. - pkgver = r15.0028279 + pkgver = 1.0.0.r1.g7645172 pkgrel = 1 url = https://github.com/muhammadali360/ByteBackup arch = any @@ -13,7 +13,7 @@ pkgbase = bytebackup-git makedepends = cmake makedepends = curl depends = electron28 - provides = bytebackup=r15.0028279 + provides = bytebackup=1.0.0 conflicts = bytebackup source = bytebackup.git::git+https://github.com/muhammadali360/ByteBackup.git source = bytebackup.sh @@ -1,7 +1,7 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> pkgname=bytebackup-git _pkgname=ByteBackup -pkgver=r15.0028279 +pkgver=1.0.0.r1.g7645172 _electronversion=28 _nodeversion=20 pkgrel=1 @@ -31,8 +31,7 @@ sha256sums=('SKIP' '2b2e8aeed33fd71c521e49fd54fb2fa81218d16aef8bccb88d77909055ab8051') pkgver() { cd "${srcdir}/${pkgname//-/.}" - #git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g' - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" + git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g' } _ensure_local_nvm() { export NVM_DIR="${srcdir}/.nvm" @@ -65,8 +64,8 @@ build() { else echo "Your network is OK." fi - npm install - npm run build:unpack + NODE_ENV=development npm install + NODE_ENV=production npm run build:unpack } package() { install -Dm755 "${srcdir}/${pkgname%-git}.sh" "${pkgdir}/usr/bin/${pkgname%-git}" |