summaryrefslogtreecommitdiff
path: root/community/bitcoin
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-09 00:01:39 +0000
committerroot <root@rshg054.dnsready.net>2012-05-09 00:01:39 +0000
commit065cf8163398f8da177e9f09f5a5e97a063ca5c5 (patch)
treebe487868f7c0b73ad63b246a443a7157f2074f1f /community/bitcoin
parent6298f4701b6053c45ef593aec10d06614d39a90d (diff)
Wed May 9 00:01:39 UTC 2012
Diffstat (limited to 'community/bitcoin')
-rw-r--r--community/bitcoin/PKGBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/community/bitcoin/PKGBUILD b/community/bitcoin/PKGBUILD
index 00d2cc85f..260082f54 100644
--- a/community/bitcoin/PKGBUILD
+++ b/community/bitcoin/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 69400 2012-04-15 20:25:26Z tredaelli $
+# $Id: PKGBUILD 70450 2012-05-07 11:38:52Z tredaelli $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: shahid <helllamer@gmail.com>
pkgbase=bitcoin
pkgname=('bitcoin-daemon' 'bitcoin-qt')
-pkgver=0.6.0
+pkgver=0.6.1
+_commit=dbb656f
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.bitcoin.org/"
@@ -12,21 +13,18 @@ makedepends=('boost' 'automoc4' 'miniupnpc')
conflicts=('bitcoin' 'bitcoin-bin' 'bitcoin-git')
replaces=('bitcoin' 'bitcoin-bin' 'bitcoin-git')
license=('MIT')
-source=("http://downloads.sourceforge.net/sourceforge/${pkgbase}/${pkgbase}-${pkgver}-linux.tar.gz")
-sha256sums=('13faa8b7c8c9ce3518ebe31ff2d97920f4feb4f06c1d08455b272fdaaeeb1f97')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/bitcoin/$pkgbase/tarball/v$pkgver")
+sha256sums=('bc37bc3c91ff39754cee511047d9ff7e8f76e06ac35bb345bcb1c0935e2b2eee')
build() {
- cd "$srcdir/$pkgbase-$pkgver-linux/src"
-
- # FIXME GCC 4.7.0 is too strict
- echo "QMAKE_CXXFLAGS += $CXXFLAGS -fpermissive" >> bitcoin-qt.pro
+ cd "$srcdir/bitcoin-$pkgbase-$_commit"
# and make qt gui
qmake
make
# make bitcoind
- make -f makefile.unix -C src CXXFLAGS="$CXXFLAGS -fpermissive" USE_UPNP=1
+ make -f makefile.unix -C src CXXFLAGS="$CXXFLAGS" USE_UPNP=1
}
@@ -35,7 +33,7 @@ package_bitcoin-qt() {
depends=(boost-libs qt miniupnpc)
install=bitcoin-qt.install
- cd "$srcdir/$pkgbase-$pkgver-linux/src"
+ cd "$srcdir/bitcoin-$pkgbase-$_commit"
install -Dm755 bitcoin-qt "$pkgdir"/usr/bin/bitcoin-qt
install -Dm644 contrib/debian/bitcoin-qt.desktop \
"$pkgdir"/usr/share/applications/bitcoin.desktop
@@ -49,7 +47,7 @@ package_bitcoin-daemon() {
pkgdesc="Bitcoin is a peer-to-peer network based digital currency - daemon"
depends=(boost-libs miniupnpc openssl)
- cd "$srcdir/$pkgbase-$pkgver-linux/src"
+ cd "$srcdir/bitcoin-$pkgbase-$_commit"
install -Dm755 src/bitcoind "$pkgdir"/usr/bin/bitcoind
install -Dm644 contrib/debian/examples/bitcoin.conf \
"$pkgdir/usr/share/doc/$pkgname/examples/bitcoin.conf"