summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Gembe2020-01-04 16:56:21 +0700
committerAxel Gembe2020-01-04 16:56:21 +0700
commitf1ce7ca3b0dd0c2b884ef03a9fd60dca33ab1540 (patch)
tree1712715e1eaf08edb302feb9c16e86cf3df777ca
downloadaur-f1ce7ca3b0dd0c2b884ef03a9fd60dca33ab1540.tar.gz
Initial version
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD37
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..03822988c0c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = fulcrum-git
+ pkgdesc = A fast & nimble SPV server for Bitcoin Cash
+ pkgver = 94e90f2
+ pkgrel = 1
+ url = https://github.com/cculianu/Fulcrum
+ arch = any
+ license = GPL3
+ depends = qt5-base
+ provides = fulcrum
+ conflicts = fulcrum
+ source = fulcrum-git::git+https://github.com/cculianu/Fulcrum.git
+ sha256sums = SKIP
+
+pkgname = fulcrum-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6f078f1d0ac
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Axel Gembe <derago@gmail.com>
+pkgname=fulcrum-git
+_pkgname=${pkgname/-git/}
+pkgdesc='A fast & nimble SPV server for Bitcoin Cash'
+pkgver=94e90f2
+pkgrel=1
+url='https://github.com/cculianu/Fulcrum'
+arch=('any')
+license=('GPL3')
+depends=('qt5-base')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("$pkgname::git+https://github.com/cculianu/Fulcrum.git")
+sha256sums=('SKIP')
+
+_qmake_args="CONFIG+=release"
+
+pkgver() {
+ cd "$pkgname"
+ git rev-parse --short HEAD
+}
+
+prepare() {
+ cd "$pkgname"
+ qmake -makefile Fulcrum.pro
+}
+
+build() {
+ cd "$pkgname"
+ make
+}
+
+package() {
+ cd "$pkgname"
+ install -Dm755 Fulcrum "$pkgdir"/usr/bin/Fulcrum
+ install -Dm644 misc/fulcrum-example-config.conf "$pkgdir"/usr/share/doc/$pkgname/fulcrum-example-config.conf
+}