diff options
author | Jonathan Knapp | 2017-06-08 14:41:19 -0700 |
---|---|---|
committer | Jonathan Knapp | 2017-06-08 14:41:19 -0700 |
commit | 35d985acaf6f7c2a22a1845435ab78a1cf255388 (patch) | |
tree | e0f6fce38fb18022cb3a2815181b5d2d5aadf156 | |
download | aur-35d985acaf6f7c2a22a1845435ab78a1cf255388.tar.gz |
Inital commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..107da6e1647d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = bcoin-git + pkgdesc = An alternative implementation of the bitcoin protocol, written in node.js. + pkgver = 1.0.0.beta.12.100.gf0b43764 + pkgrel = 1 + url = http://bcoin.io/ + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + makedepends = npm + makedepends = python2 + depends = nodejs + provides = bcoin + conflicts = bcoin + source = bcoin-git::git+https://github.com/bcoin-org/bcoin.git + md5sums = SKIP + +pkgname = bcoin-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cb3a3bb276cc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Jonathan Knapp <jaknapp8+aur@gmail.com> +# Contributor: Christopher Jeffrey +# URL: https://github.com/bcoin-org/bcoin +# Upstream: https://github.com/bcoin-org/bcoin + +_pkgname=bcoin +pkgname=${_pkgname}-git +pkgver=1.0.0.beta.12.100.gf0b43764 +pkgrel=1 +pkgdesc='An alternative implementation of the bitcoin protocol, written in node.js.' +arch=('i686' 'x86_64') +url='http://bcoin.io/' +license=('MIT') +depends=('nodejs') +makedepends=('git' 'npm' 'python2') +provides=('bcoin') +conflicts=('bcoin') +source=("$pkgname::git+https://github.com/bcoin-org/bcoin.git") +md5sums=('SKIP') + +pkgver() { + cd $pkgname + git describe | sed 's/^v//;s/-/./g' +} + +package() { + cd "$pkgname" + npm install -g --user root --prefix "$pkgdir"/usr + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |