summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAaron Miller2017-10-09 18:02:24 -0700
committerAaron Miller2017-10-09 18:02:24 -0700
commitfc5f63b858be752f03990f8b0dabffbb7c7768f1 (patch)
treec52a41a36defd4564661eac108c2d1ce7776c489 /PKGBUILD
parenteaa512a7126831c409a37b48c86a3da417e8abda (diff)
downloadaur-fc5f63b858be752f03990f8b0dabffbb7c7768f1.tar.gz
v3.0 release and package updated to use pre-compiled binaries
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 17 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eb1e66559fd..4760b5edaf4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,31 +3,29 @@
pkgname=("pivx-daemon" "pivx-cli" "pivx-qt")
pkgbase=pivx
_pkgbase=${pkgbase^^}
-pkgver=2.3.0
+pkgver=3.0.0
pkgrel=1
arch=("i686" "x86_64")
url="https://pivx.org/"
depends=("boost-libs")
-makedepends=("boost" "qt5-tools" "miniupnpc" "openssl" "protobuf" "qrencode" "db4.8")
pkgdesc="Transactional security and privacy-focused decentralized open source cryptocurrency "
license=("MIT")
-source=("https://github.com/PIVX-Project/PIVX/archive/v2.3.0.tar.gz")
-sha256sums=("4597f4a3c146ddffc4ffc519dc78dffe818b8b67b9921ec1e14abd3ba69d95e8")
-
-build() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- ./autogen.sh
- ./configure --prefix=/usr
- make
-}
+source=("https://github.com/PIVX-Project/PIVX/archive/v3.0.0.tar.gz")
+source_i686=("https://github.com/PIVX-Project/PIVX/releases/download/v3.0.0/pivx-3.0.0-i686-pc-linux-gnu.tar.gz")
+source_x86_64=("https://github.com/PIVX-Project/PIVX/releases/download/v3.0.0/pivx-3.0.0-x86_64-linux-gnu.tar.gz")
+sha256sums=("e170ae63a8676b9aac8a265ffe2f3e45638ee82dcb2d29efc383eb0ca9203561")
+sha256sums_i686=("47d6df61dddf7fb1514569db06c4dd0cd5c72beebb18537abdfde9e6b511c53c")
+sha256sums_x86_64=("6d86f4b2da4f189cab8c3f2bfbbfc3109d2bd9cb80f0388a17bf91b22e495251")
package_pivx-daemon() {
pkgdesc+="(daemon)"
depends+=("openssl" "miniupnpc" "db4.8")
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ install -Dm755 "bin/pivxd" "${pkgdir}/usr/bin/pivxd"
+
cd "${srcdir}/${_pkgbase}-${pkgver}"
install -Dm644 "contrib/init/pivxd.service" "${pkgdir}/usr/lib/systemd/system/pivxd.service"
- install -Dm755 "src/pivxd" "${pkgdir}/usr/bin/pivxd"
install -Dm644 "contrib/debian/examples/pivx.conf" "${pkgdir}/usr/share/doc/${pkgname}/examples/pivx.conf"
install -Dm644 "contrib/debian/manpages/pivxd.1" "${pkgdir}/usr/share/man/man1/pivxd.1"
install -Dm644 "contrib/debian/manpages/pivx.conf.5" "${pkgdir}/usr/share/man/man5/pivx.conf.5"
@@ -38,9 +36,11 @@ package_pivx-cli() {
pkgdesc+="(CLI)"
depends+=("openssl")
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ install -Dm755 "bin/pivx-cli" "${pkgdir}/usr/bin/pivx-cli"
+ install -Dm755 "bin/pivx-tx" "${pkgdir}/usr/bin/pivx-tx"
+
cd "${srcdir}/${_pkgbase}-${pkgver}"
- install -Dm755 "src/pivx-cli" "${pkgdir}/usr/bin/pivx-cli"
- install -Dm755 "src/pivx-tx" "${pkgdir}/usr/bin/pivx-tx"
install -Dm644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
@@ -48,8 +48,10 @@ package_pivx-qt() {
pkgdesc+="(Qt)"
depends+=("qt5-base" "protobuf" "qrencode" "miniupnpc" "db4.8")
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ install -Dm755 "bin/pivx-qt" "${pkgdir}/usr/bin/pivx-qt"
+
cd "${srcdir}/${_pkgbase}-${pkgver}"
- install -Dm755 "src/qt/pivx-qt" "${pkgdir}/usr/bin/pivx-qt"
install -Dm644 "contrib/debian/pivx-qt.desktop" "${pkgdir}/usr/share/applications/pivx.desktop"
install -Dm644 "share/pixmaps/bitcoin128.png" "${pkgdir}/usr/share/pixmaps/pivx128.png"
install -Dm644 "contrib/debian/manpages/pivx-qt.1" "${pkgdir}/usr/share/man/man1/pivx-qt.1"