diff options
author | Moses Narrow | 2021-05-05 09:52:39 -0500 |
---|---|---|
committer | Moses Narrow | 2021-05-05 09:52:39 -0500 |
commit | 0aaedeaec85b1b2b0fae86d9fbf1a1e818141280 (patch) | |
tree | 09da261cf62623d0fd65bba0e257e4488211dbf2 /PKGBUILD | |
parent | 1a84de8fcba18b8ca266f1407242cbd5cef83b62 (diff) | |
download | aur-0aaedeaec85b1b2b0fae86d9fbf1a1e818141280.tar.gz |
update version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 56 |
1 files changed, 29 insertions, 27 deletions
@@ -2,19 +2,21 @@ pkgname=nbxplorer pkgcaps=NBXplorer pkgdesc="A minimalist UTXO tracker for HD Cryptocurrency Wallets." -pkgver='stable' +pkgver='3.0.21' pkgpath="github.com/dgarage/${pkgname}" pkgrel=5 arch=('any') url="https://${pkgpath}" license=(MIT) -makedepends=('dotnet-host' 'dotnet-runtime' 'dotnet-sdk' 'aspnet-runtime-2.1') -depends=(${makedepends} 'bitcoin-daemon') -source=("${url}/archive/${pkgver}.tar.gz") +#makedepends=('dotnet-host' 'dotnet-runtime' 'dotnet-sdk' 'aspnet-runtime-2.1') +makedepends=("dotnet-sdk-3.1") +#depends=(${makedepends} 'bitcoin-daemon') +depends=("aspnet-runtime-3.1" "bitcoin-daemon" "dotnet-sdk-3.1") +#source=("${url}/archive/${pkgver}.tar.gz") sha256sums=('SKIP') - +source=("https://github.com/dgarage/NBXplorer/archive/refs/tags/Client/v${pkgver}.tar.gz") build() { -mv ${srcdir}/${pkgcaps}-${pkgver} ${srcdir}/${pkgname} +mv ${srcdir}/${pkgcaps}-Client-v${pkgver} ${srcdir}/${pkgname} cd ${srcdir}/${pkgname} ./build.sh #set absolute path in run.sh @@ -24,27 +26,27 @@ dotnet run --no-launch-profile --no-build -c Release -p "/usr/lib/nbxplorer/NBXp ' > run.sh chmod +x run.sh -echo -e '#!/bin/bash -#launch nbxplorer -nohup dotnet run --no-launch-profile --no-build -c Release -p "/usr/lib/nbxplorer/NBXplorer/NBXplorer.csproj" -- $@ > /dev/null 2>&1 &sleep 3 -' > run1.sh -chmod +x run1.sh +#echo -e '#!/bin/bash +##launch nbxplorer +#nohup dotnet run --no-launch-profile --no-build -c Release -p "/usr/lib/nbxplorer/NBXplorer/NBXplorer.csproj" -- $@ > /dev/null 2>&1 &sleep 3 +#' > run1.sh +#chmod +x run1.sh -echo -e '[Unit] -Description=NBXplorer -After=network.target -After=bitcoind.service +#echo -e '[Unit] +#Description=NBXplorer +#After=network.target +#After=bitcoind.service -[Service] -Type=oneshot -ExecStart=/usr/bin/nbxplorer-nohup -RemainAfterExit=yes -Restart=on-failure +#[Service] +#Type=oneshot +#ExecStart=/usr/bin/nbxplorer-nohup +#RemainAfterExit=yes +#Restart=on-failure #User= -[Install] -WantedBy=multi-user.target -' > nbxplorer.service +#[Install] +#WantedBy=multi-user.target +#' > nbxplorer.service } package() { @@ -52,17 +54,17 @@ package() { mkdir -p ${pkgdir}/usr/bin/ mkdir -p ${pkgdir}/usr/lib/ mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}/ -mkdir -p ${pkgdir}/usr/lib/systemd/system/ +#mkdir -p ${pkgdir}/usr/lib/systemd/system/ #putting the sources in /usr/lib/nbxplorer cp -r ${srcdir}/${pkgname}/ ${pkgdir}/usr/lib/ #symlinking run.sh to /usr/bin/nbxplorer ln -rTsf $pkgdir/usr/lib/${pkgname}/run.sh ${pkgdir}/usr/bin/${pkgname} chmod 755 ${pkgdir}/usr/bin/${pkgname} #symlinking run1.sh to /usr/bin/nbxplorer-nohup -ln -rTsf $pkgdir/usr/lib/${pkgname}/run1.sh ${pkgdir}/usr/bin/${pkgname}-nohup -chmod 755 ${pkgdir}/usr/bin/${pkgname}-nohup +#ln -rTsf $pkgdir/usr/lib/${pkgname}/run1.sh ${pkgdir}/usr/bin/${pkgname}-nohup +#chmod 755 ${pkgdir}/usr/bin/${pkgname}-nohup #install systemd service -install -Dm644 ${pkgdir}/usr/lib/${pkgname}/nbxplorer.service ${pkgdir}/usr/lib/systemd/system/ +#install -Dm644 ${pkgdir}/usr/lib/${pkgname}/nbxplorer.service ${pkgdir}/usr/lib/systemd/system/ #install the lisence install -Dm644 ${pkgdir}/usr/lib/${pkgname}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } |