summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMaik Broemme2015-06-29 00:39:02 +0200
committerMaik Broemme2015-06-29 00:39:02 +0200
commit048b49e8f6a7fe77deb027fd2d8153078c44d5e7 (patch)
tree786d8d21a4d0739849e8d50305fc529792ccd2ba /PKGBUILD
downloadaur-048b49e8f6a7fe77deb027fd2d8153078c44d5e7.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
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"
+}