summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaik Broemme2015-06-29 00:39:02 +0200
committerMaik Broemme2015-06-29 00:39:02 +0200
commit048b49e8f6a7fe77deb027fd2d8153078c44d5e7 (patch)
tree786d8d21a4d0739849e8d50305fc529792ccd2ba
downloadaur-048b49e8f6a7fe77deb027fd2d8153078c44d5e7.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD36
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1042af8de86
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = bitcoin-scrypt-git-daemon
+ pkgdesc = Bitcoin Scrypt is a decentralised currency and using the Scrypt algorithm - daemon
+ pkgver = 20140107.2ba1ffc
+ pkgrel = 1
+ url = http://bitcoinscrypt.org/
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = boost
+ makedepends = automoc4
+ makedepends = qrencode
+ makedepends = miniupnpc
+ depends = boost-libs
+ depends = miniupnpc
+ depends = openssl
+ provides = bitcoin-scrypt-daemon
+ source = bitcoin-scrypt::git://github.com/Omega6/Bitcoin-Scrypt.git
+ sha256sums = SKIP
+
+pkgname = bitcoin-scrypt-git-daemon
+ provides = bitcoin-scrypt-daemon
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..43bfad638bc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Maik Broemme <mbroemme@libmpq.org>
+# Donate BTCS: 13xcw57QyS8h6GuxtbatAH9S6igwytd7Uo
+pkgname="bitcoin-scrypt-git-daemon"
+pkgdesc="Bitcoin Scrypt is a decentralised currency and using the Scrypt algorithm - daemon"
+pkgver=20140107.2ba1ffc
+pkgrel=1
+arch=("i686" "x86_64")
+url="http://bitcoinscrypt.org/"
+license=("MIT")
+depends=("boost-libs" "miniupnpc" "openssl")
+makedepends=("boost" "automoc4" "qrencode" "miniupnpc")
+provides=("bitcoin-scrypt-daemon")
+source=(
+ "bitcoin-scrypt::git://github.com/Omega6/Bitcoin-Scrypt.git"
+)
+sha256sums=(
+ "SKIP"
+)
+
+pkgver() {
+ cd "${srcdir}/bitcoin-scrypt"
+ git log -1 --date=short --format="%cd.%h" | tr -d '-'
+}
+
+build() {
+ cd "${srcdir}/bitcoin-scrypt"
+ qmake-qt4 USE_QRCODE=1 USE_DBUS=1 USE_UPNP=1 Bitcoin-sCrypt.pro
+ make -f makefile.unix -C src CXXFLAGS="${CXXFLAGS}"
+}
+
+package() {
+ provides=("bitcoin-scrypt-daemon")
+ cd "${srcdir}/bitcoin-scrypt"
+ install -D -m 0755 src/bitcoin-scryptd "${pkgdir}/usr/bin/bitcoin-scryptd"
+ install -D -m 0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}