diff options
author | StevesAMonkey | 2017-08-22 13:37:29 +0930 |
---|---|---|
committer | StevesAMonkey | 2017-08-22 13:37:29 +0930 |
commit | 61829efe4036aa0a24233f034568046117746885 (patch) | |
tree | 4ff6ec70456c56e7dcf308707fce77c1b99841e6 | |
download | aur-61829efe4036aa0a24233f034568046117746885.tar.gz |
v0.0.4, release 1
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | neon-wallet.install | 13 |
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bc78e526f163 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = neon-wallet + pkgdesc = Lightweight Wallet for the NEO CryptoCurrency + pkgver = 0.0.4 + pkgrel = 1 + url = https://github.com/CityOfZion/neon-wallet + install = neon-wallet.install + arch = x86_64 + license = MIT + source_x86_64 = https://github.com/CityOfZion/neon-wallet/releases/download/0.0.4/Linux.Neon_0.0.4_amd64.deb + sha256sums_x86_64 = 06de16014e771eddc1a9dc32af1dc1066df71d41709e53b6880ab991442ff01f + +pkgname = neon-wallet + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b08915dd8ced --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Stephen Argent <steve [at] tuxcon [dot] com> + +pkgname=neon-wallet +pkgdesc='Lightweight Wallet for the NEO CryptoCurrency' +license=('MIT') +url='https://github.com/CityOfZion/neon-wallet' +pkgver=0.0.4 +pkgrel=1 +arch=('x86_64') + +source_x86_64=( + "${url}/releases/download/${pkgver}/Linux.Neon_${pkgver}_amd64.deb" +) +sha256sums_x86_64=(06de16014e771eddc1a9dc32af1dc1066df71d41709e53b6880ab991442ff01f) + +install=neon-wallet.install + +package() { + if [ "$CARCH" = "x86_64" ] ; then + deb_arch="amd64" + else + echo "Unknown arch: $CARCH" + exit 1 + fi + + cd "$srcdir" + deb_package="Linux.Neon_${pkgver}_amd64.deb" + ar xf "$deb_package" + tar xf data.tar.xz -C "$pkgdir" +} + diff --git a/neon-wallet.install b/neon-wallet.install new file mode 100644 index 000000000000..21701cb72772 --- /dev/null +++ b/neon-wallet.install @@ -0,0 +1,13 @@ +post_install() { + echo "Symlink has been installed for /usr/bin/neon-wallet" + ln -s /opt/Neon/neon /usr/bin/neon-wallet +} + +post_upgrade() { + ln -s /opt/Neon/neon /usr/bin/neon-wallet +} + +post_remove() { + echo "Symlink to /usr/bin/neon-wallet has been removed" + rm -f /usr/bin/neon-wallet +} |