summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwowario2019-01-02 11:05:49 +0300
committerwowario2019-01-02 11:05:49 +0300
commite58833585fc1b799c70d92a1b12a773c606a82ad (patch)
tree4e919a58dc440c4df68b47d77806225aaf7aa0e5
downloadaur-e58833585fc1b799c70d92a1b12a773c606a82ad.tar.gz
add wownero-git
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD39
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bf86f4d58b1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = wownero-git
+ pkgdesc = a fairly launched privacy-centric meme coin with no premine and a finite supply
+ pkgver = 0.5.0.0
+ pkgrel = 1
+ url = http://wownero.org/
+ arch = x86_64
+ license = custom:Cryptonote
+ makedepends = git
+ makedepends = cmake
+ makedepends = boost
+ depends = boost-libs
+ depends = zeromq
+ depends = unbound
+ depends = libusb
+ provides = wownero-git
+ source = wownero-git::git+https://github.com/wownero/wownero#branch=dev-v0.5
+ sha256sums = SKIP
+
+pkgname = wownero-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ef3e5a85bde
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: wowario <wowario at protonmail dot com>
+# Contributor: wowario <wowario at protonmail dot com>
+
+pkgbase=('wownero-git')
+pkgname=('wownero-git')
+_gitbranch='dev-v0.5'
+pkgver=0.5.0.0
+pkgrel=1
+pkgdesc="a fairly launched privacy-centric meme coin with no premine and a finite supply"
+license=('custom:Cryptonote')
+arch=('x86_64')
+url="http://wownero.org/"
+depends=('boost-libs' 'zeromq' 'unbound' 'libusb')
+makedepends=('git' 'cmake' 'boost')
+provides=('wownero-git')
+
+source=("${pkgname}"::"git+https://github.com/wownero/wownero#branch=${_gitbranch}")
+
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ printf "$(echo ${pkgver} | sed 's/\.r.*//').r%s.g%s" \
+ "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ USE_SINGLE_BUILDDIR=1 make
+}
+
+package_wownero-git() {
+ install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "${srcdir}/${pkgname}/utils/conf/wownerod.conf" "${pkgdir}/etc/wownerod.conf"
+ install -Dm644 "${srcdir}/${pkgname}/utils/systemd/wownerod.service" "${pkgdir}/usr/lib/systemd/system/wownerod.service"
+ install -Dm755 "${srcdir}/${pkgname}/build/release/bin/wownerod" "${pkgdir}/usr/bin/wownerod"
+ install -Dm755 "${srcdir}/${pkgname}/build/release/bin/wownero-wallet-cli" "${pkgdir}/usr/bin/wownero-wallet-cli"
+ install -Dm755 "${srcdir}/${pkgname}/build/release/bin/wownero-wallet-rpc" "${pkgdir}/usr/bin/wownero-wallet-rpc"
+}