diff options
author | Jonathan Yantis | 2015-06-11 08:56:41 -0700 |
---|---|---|
committer | Jonathan Yantis | 2015-06-11 08:56:41 -0700 |
commit | ea7c25a077c9e95194c46481b83f08c841a03fba (patch) | |
tree | 1b957137e91754c2732d179e4d3492beb8ad02e4 | |
download | aur-ea7c25a077c9e95194c46481b83f08c841a03fba.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 52 | ||||
-rw-r--r-- | ethercoin-qt-git.install | 11 | ||||
-rw-r--r-- | ethercoin.desktop | 10 |
4 files changed, 98 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cf1360916d6b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = ethercoin-qt-git + pkgdesc = Cryptocurrency pegged to Ethereum + pkgver = r3358.6e94e09 + pkgrel = 2 + url = http://ethercoin.cc/ + install = ethercoin-qt-git.install + arch = x86_64 + arch = i686 + license = MIT + makedepends = boost + makedepends = gcc + makedepends = make + makedepends = git + depends = qt4 + depends = miniupnpc + depends = boost-libs + provides = ethercoin-qt + conflicts = ethercoin-qt + source = git+https://github.com/ethercoin/ethercoin.git + source = ethercoin.desktop + sha256sums = SKIP + sha256sums = 9e83e2fa233699bf1b9fec0a4108a171ab7945aa9732225c25cbf748cb7787ff + +pkgname = ethercoin-qt-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9006f780aa58 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: jyantis <aur at yantis dot net> + +# Based off blackcoin-git-qt by aaron-lebo +# Based off dogecoin-git-qt by gee +# Based off primecoin-qt by Daniel Spies + +pkgname=ethercoin-qt-git +pkgver=r3358.6e94e09 +_gitname=ethercoin +_binname=ethercoin +pkgrel=2 +pkgdesc="Cryptocurrency pegged to Ethereum" +arch=('x86_64' 'i686') +url="http://ethercoin.cc/" +license=('MIT') +depends=('qt4' 'miniupnpc' 'boost-libs') +makedepends=('boost' 'gcc' 'make' 'git') +source=('git+https://github.com/ethercoin/ethercoin.git' 'ethercoin.desktop') +install=$pkgname.install +sha256sums=('SKIP' + '9e83e2fa233699bf1b9fec0a4108a171ab7945aa9732225c25cbf748cb7787ff') +provides=('ethercoin-qt') +conflicts=('ethercoin-qt') + +pkgver() { + cd ${_gitname} + set -o pipefail + git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd ${_gitname} + qmake-qt4 ${_binname}-qt.pro + make ${MAKEFLAGS} || make ${MAKEFLAGS} +} + +check(){ + cd ${_gitname} + make check +} + +package() { + install -Dm644 ${_binname}.desktop ${pkgdir}/usr/share/applications/${_binname}.desktop + + cd ${_gitname} + install -Dm755 ${_binname}-qt "$pkgdir"/usr/bin/${_binname}-qt + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 src/qt/res/icons/novacoin.png "$pkgdir"/usr/share/pixmaps/${_binname}.png +} + +# vim:set ts=2 sw=2 et: diff --git a/ethercoin-qt-git.install b/ethercoin-qt-git.install new file mode 100644 index 000000000000..f98ba7338938 --- /dev/null +++ b/ethercoin-qt-git.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/ethercoin.desktop b/ethercoin.desktop new file mode 100644 index 000000000000..40daf9163ec5 --- /dev/null +++ b/ethercoin.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Ethercoin +Comment=Ethercoin P2P Cryptocurrency +Exec=/usr/bin/ethercoin-qt +Terminal=false +Type=Application +Icon=/usr/share/pixmaps/ethercoin.png +MimeType=x-scheme-handler/ethercoin; +Categories=Network; |