diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6f078f1d0ac6 --- /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 +} |