summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorphiresky2016-09-03 19:40:04 +0200
committerphiresky2016-09-04 17:36:18 +0200
commitadd21067750484fab6a1fb207edad437f88d12c7 (patch)
tree43826dcc1b00b63dbb1ea1c705f0b9db41b5ec83
parent5d6a010450f4f1f5a3faeeb6d0987e320a566bf8 (diff)
downloadaur-add21067750484fab6a1fb207edad437f88d12c7.tar.gz
port for ethereum classic
-rw-r--r--.SRCINFO39
-rw-r--r--PKGBUILD66
-rw-r--r--mist-classic.desktop (renamed from mist.desktop)8
3 files changed, 50 insertions, 63 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 77bc1fb21ac3..a7453775ac3c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
# Generated by mksrcinfo v8
-# Thu Aug 25 08:02:12 UTC 2016
-pkgbase = mist
+# Sat Sep 3 17:40:10 UTC 2016
+pkgbase = mist-classic
pkgdesc = Mist dapp browser and Ethereum wallet.
- pkgver = 0.8.2
+ pkgver = 0.8.1
pkgrel = 1
- url = https://github.com/ethereum/mist
+ url = https://github.com/ethereumproject/mist
arch = i686
arch = x86_64
license = GPL
@@ -17,25 +17,22 @@ pkgbase = mist
depends = readline
depends = gconf
depends = libnotify
- optdepends = parity: The fast, light, robust Ethereum client.
- provides = geth
- provides = mist
+ provides = geth-classic
+ provides = mist-classic
provides = libnode
- conflicts = geth
- conflicts = geth-git
- conflicts = go-ethereum
- conflicts = go-ethereum-git
- conflicts = mist-git
- conflicts = libnode
- conflicts = libnode-git
- source = mist.desktop
+ conflicts = geth-classic
+ conflicts = geth-classic-git
+ conflicts = go-ethereum-classic
+ conflicts = go-ethereum-classic-git
+ conflicts = mist-classic-git
+ source = mist-classic.desktop
source = icon.png
- sha256sums = d044844dd8ef1fef2ced861e5a86bf0d9af1b06ade6965dab1f12dbc612da207
+ sha256sums = b82a147721f97688e2f0baf0707d4f87707c2314135a1c9e576dcb591d2ee11e
sha256sums = f9dfeddf9730ab693e3dc69d6dd0ad48525de1e40e1c8fb46ed081a3e7bd5f93
- source_i686 = mist-0-8-2-32.zip::https://github.com/ethereum/mist/releases/download/0.8.2/Mist-linux32-0-8-2.zip
- sha256sums_i686 = e281b2b4e9f261d8983642ea03929063d28349265294150a1940feb0792f5f14
- source_x86_64 = mist-0-8-2-64.zip::https://github.com/ethereum/mist/releases/download/0.8.2/Mist-linux64-0-8-2.zip
- sha256sums_x86_64 = 3a222dd76a3b9b8f5f768cae7e57258fc07cff138e95c9c566687b8547275fea
+ source_i686 = mist-classic-0-8-1-32.zip::https://github.com/ethereumproject/mist/releases/download/5cbe0c0/Ethereum-Wallet-linux32-0-8-1.zip
+ sha256sums_i686 = 7fb2ce457ad0090e9909f83b1f0e00be725f42a6d7a93d42912112c97da55a4e
+ source_x86_64 = mist-classic-0-8-1-64.zip::https://github.com/ethereumproject/mist/releases/download/5cbe0c0/Ethereum-Wallet-linux64-0-8-1.zip
+ sha256sums_x86_64 = 62a797b07bdfadf3e2879791f3d6310425d613ac67cb50a5eac96d33cb97bc48
-pkgname = mist
+pkgname = mist-classic
diff --git a/PKGBUILD b/PKGBUILD
index 895f84cea2a7..646c18e1d66b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,12 @@
-# Maintainer: Afri 5chdn <aur@cach.co>
+# Maintainer: phiresky <phireskyde+git@gmail.com>
+# Original Author: Afri 5chdn <aur@cach.co>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
-pkgname=mist
-pkgver=0.8.2
-_strver=0-8-2
+pkgname=mist-classic
+pkgver=0.8.1
+_strver=0-8-1
+_gittag=5cbe0c0
+_projectname=Ethereum-Wallet
pkgrel=1
pkgdesc="Mist dapp browser and Ethereum wallet."
arch=('i686' 'x86_64')
@@ -19,43 +22,31 @@ depends=(
'libnotify'
)
provides=(
- 'geth'
- 'mist'
- 'libnode'
+ 'geth-classic'
+ 'mist-classic'
)
conflicts=(
- 'geth'
- 'geth-git'
- 'go-ethereum'
- 'go-ethereum-git'
- 'mist-git'
- 'libnode'
- 'libnode-git'
+ 'geth-classic'
+ 'geth-classic-git'
+ 'go-ethereum-classic'
+ 'go-ethereum-classic-git'
+ 'mist-classic-git'
)
-optdepends=(
- 'parity: The fast, light, robust Ethereum client.'
-)
-url="https://github.com/ethereum/mist"
+url="https://github.com/ethereumproject/mist"
license=('GPL')
source=(
- "mist.desktop"
+ "mist-classic.desktop"
"icon.png"
)
-sha256sums=(
- "d044844dd8ef1fef2ced861e5a86bf0d9af1b06ade6965dab1f12dbc612da207"
- "f9dfeddf9730ab693e3dc69d6dd0ad48525de1e40e1c8fb46ed081a3e7bd5f93"
-)
+sha256sums=('b82a147721f97688e2f0baf0707d4f87707c2314135a1c9e576dcb591d2ee11e'
+ 'f9dfeddf9730ab693e3dc69d6dd0ad48525de1e40e1c8fb46ed081a3e7bd5f93')
+sha256sums_i686=('7fb2ce457ad0090e9909f83b1f0e00be725f42a6d7a93d42912112c97da55a4e')
+sha256sums_x86_64=('62a797b07bdfadf3e2879791f3d6310425d613ac67cb50a5eac96d33cb97bc48')
source_i686=(
- "${pkgname}-${_strver}-32.zip::https://github.com/ethereum/$pkgname/releases/download/${pkgver}/Mist-linux32-$_strver.zip"
-)
-sha256sums_i686=(
- "e281b2b4e9f261d8983642ea03929063d28349265294150a1940feb0792f5f14"
+ "${pkgname}-${_strver}-32.zip::$url/releases/download/${_gittag}/${_projectname}-linux32-$_strver.zip"
)
source_x86_64=(
- "${pkgname}-${_strver}-64.zip::https://github.com/ethereum/$pkgname/releases/download/${pkgver}/Mist-linux64-$_strver.zip"
-)
-sha256sums_x86_64=(
- "3a222dd76a3b9b8f5f768cae7e57258fc07cff138e95c9c566687b8547275fea"
+ "${pkgname}-${_strver}-64.zip::$url/releases/download/${_gittag}/${_projectname}-linux64-$_strver.zip"
)
package() {
@@ -66,31 +57,30 @@ package() {
rm "${srcdir}/${pkgname}-${_strver}-${_arch}.zip"
- msg2 'Installing Mist...'
+ msg2 'Installing Mist Classic...'
install -d "${pkgdir}/usr/share/${pkgname}"
- cp -a "${srcdir}/Mist-linux${_arch}-${_strver}/." "${pkgdir}/usr/share/${pkgname}"
+ cp -a "${srcdir}/${_projectname}-linux${_arch}-${_strver}/." "${pkgdir}/usr/share/${pkgname}"
install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/${pkgname}"
install -d "${pkgdir}/usr/share/applications"
- install -Dm644 "${srcdir}/mist.desktop" "${pkgdir}/usr/share/applications"
+ install -Dm644 "${srcdir}/mist-classic.desktop" "${pkgdir}/usr/share/applications"
install -d "${pkgdir}/usr/bin"
- ln -s "/usr/share/${pkgname}/Mist" "${pkgdir}/usr/bin/mist"
- ln -s "/usr/share/${pkgname}/resources/node/geth/geth" "${pkgdir}/usr/bin/geth"
+ ln -s "/usr/share/${pkgname}/${_projectname}" "${pkgdir}/usr/bin/mist-classic"
+ ln -s "/usr/share/${pkgname}/resources/node/geth/geth" "${pkgdir}/usr/bin/geth-classic"
install -Dm644 "${pkgdir}/usr/share/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm "${pkgdir}/usr/share/${pkgname}/LICENSE"
msg2 'Installing Libnode...'
install -d "${pkgdir}/usr/lib"
- ln -s "/usr/share/${pkgname}/libnode.so" "${pkgdir}/usr/lib/libnode.so"
ln -sf "/usr/lib/libgcrypt.so.11" "${pkgdir}/usr/share/${pkgname}/libgcrypt.so.11"
ln -sf "/usr/lib/libnotify.so.4" "${pkgdir}/usr/share/${pkgname}/libnotify.so.4"
find "${pkgdir}" -type d -exec chmod 755 {} +
find "${pkgdir}" -type f -exec chmod 644 {} +
- chmod 755 "${pkgdir}/usr/share/${pkgname}/Mist"
+ chmod 755 "${pkgdir}/usr/share/${pkgname}/${_projectname}"
chmod 755 "${pkgdir}/usr/share/${pkgname}/libnode.so"
chmod 755 "${pkgdir}/usr/share/${pkgname}/resources/node/geth/geth"
}
diff --git a/mist.desktop b/mist-classic.desktop
index 502efa6fd8d0..9180b694a609 100644
--- a/mist.desktop
+++ b/mist-classic.desktop
@@ -1,10 +1,10 @@
[Desktop Entry]
Type=Application
Version=0.4.0
-Name=Mist Browser
+Name=Mist Classic Browser
Comment=Ethereum wallet for Ether accounts, wallets and smart contracts, including Mist browser
-Path=/usr/share/mist
-Exec=/usr/bin/mist
-Icon=/usr/share/mist/icon.png
+Path=/usr/share/mist-classic
+Exec=/usr/bin/mist-classic
+Icon=/usr/share/mist-classic/icon.png
Terminal=false
Categories=Internet;Other;