summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorquininer kel2016-02-19 16:00:11 +0800
committerquininer kel2016-02-19 16:00:11 +0800
commit5aa2dcca26c48216e022a16e3e188260321dc7d7 (patch)
tree6bf180575b3a343da2d8dd1859d2091759d6f342
downloadaur-5aa2dcca26c48216e022a16e3e188260321dc7d7.tar.gz
init
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD30
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..01566f5401d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Fri Feb 19 08:00:02 UTC 2016
+pkgbase = parity-git
+ pkgdesc = Fast, light, robust Ethereum implementation
+ pkgver = 0.9.99.2102
+ pkgrel = 1
+ url = https://github.com/ethcore/parity
+ arch = i686
+ arch = x86_64
+ license = AGPL-3.0
+ makedepends = rust>=1.7
+ makedepends = rust<1.8
+ makedepends = cargo
+ makedepends = git
+ makedepends = python-pytoml
+ depends = rocksdb
+ provides = parity
+ conflicts = parity
+ source = git://github.com/ethcore/parity.git
+ sha256sums = SKIP
+
+pkgname = parity-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5a1a325c3cf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=parity-git
+_pkgname=parity
+pkgdesc="Fast, light, robust Ethereum implementation"
+pkgrel=1
+pkgver=0.9.99.2102
+arch=('i686' 'x86_64')
+conflicts=("parity")
+provides=("parity")
+url="https://github.com/ethcore/parity"
+license=('AGPL-3.0')
+depends=('rocksdb')
+makedepends=('rust>=1.7' 'rust<1.8' 'cargo' 'git' 'python-pytoml')
+source=('git://github.com/ethcore/parity.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ echo "$(python -c "print(__import__('pytoml').loads(open('Cargo.toml').read())['package']['version'])").$(git rev-list --count HEAD)"
+}
+
+build() {
+ cd $_pkgname
+ cargo update
+ cargo build --release
+}
+
+package() {
+ cd $_pkgname
+ install -D -m755 "${srcdir}/${_pkgname}/target/release/parity" "${pkgdir}/usr/bin/parity"
+}