summaryrefslogtreecommitdiff
path: root/social/bitcoin-daemon/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-06-06 15:56:38 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-06-06 15:56:38 -0300
commit3bd400fa691b9bfc14b47918d56e2789d8570193 (patch)
tree3d53b923222cc93f2f9c711a16561f3596f97243 /social/bitcoin-daemon/PKGBUILD
parent0b3c41bff8016fa806e65e41bc76a0e5ea7e11cd (diff)
bitcoin-daemon-0.3.22-1
Diffstat (limited to 'social/bitcoin-daemon/PKGBUILD')
-rw-r--r--social/bitcoin-daemon/PKGBUILD33
1 files changed, 18 insertions, 15 deletions
diff --git a/social/bitcoin-daemon/PKGBUILD b/social/bitcoin-daemon/PKGBUILD
index c00439328..77dd1d86f 100644
--- a/social/bitcoin-daemon/PKGBUILD
+++ b/social/bitcoin-daemon/PKGBUILD
@@ -4,43 +4,50 @@
pkgname=bitcoin-daemon
_pkgname=bitcoin
-pkgver=0.3.21
-_bcver=0.3.21
+pkgver=0.3.22
+_bcver=0.3.22
pkgrel=1
pkgdesc="Bitcoin is a peer-to-peer network based digital currency."
arch=('i686' 'x86_64')
url="http://www.bitcoin.org/"
-depends=('expat' 'boost-libs>=1.43')
-makedepends=('boost')
+depends=('expat' 'boost-libs>=1.43' 'miniupnpc')
+makedepends=('boost' 'openssl')
conflicts=('bitcoin-bin' 'bitcoin')
license=('MIT')
install="bitcoin-daemon.install"
source=(http://ufpr.dl.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-$_bcver/bitcoin-$pkgver-linux.tar.gz
- makefile.archlinux
+ makefile.parabola
bitcoin-daemon.install
rc.bitcoind)
+md5sums=('87ed8d95dd0c94635d5237dc1490bb0d'
+ 'dc3d207309d11e285ece6b3bdf61d90b'
+ 'a388684057de2bb543cb7f795dc693cf'
+ '4a9ab4997487bb5f8e3c6b1d580045af')
build() {
- cd $srcdir/${_pkgname}-${pkgver}/src
+ cd $srcdir/${_pkgname}-${pkgver}/src/src
# copy correct makefile to src dir
- cp $srcdir/makefile.archlinux Makefile
+ cp $srcdir/makefile.parabola Makefile
# fixes...
mkdir -p obj/nogui 2>/dev/null
rm -f cryptopp/obj/*
-
+
# to build (single-threaded make due to OOM issues)
make bitcoind
}
package() {
- cd $srcdir/${_pkgname}-${pkgver}
+ cd $srcdir/${_pkgname}-${pkgver}/src/src
+
mkdir -p $pkgdir/{usr/bin,usr/share/licenses/$pkgname,etc/rc.d,var/lib/$pkgname}
- install -D -m755 ./src/bitcoind $pkgdir/usr/bin/
+ install -D -m755 ./bitcoind $pkgdir/usr/bin/
install -D -m755 $srcdir/rc.bitcoind $pkgdir/etc/rc.d/bitcoind
- install -m 644 ./license.txt $pkgdir/usr/share/licenses/$pkgname/
+
+ install -D -m 644 $srcdir/$_pkgname-$pkgver/COPYING \
+ $pkgdir/usr/share/licenses/$pkgname/
# strip shit from executables
find $pkgdir/usr/bin/ -type f | xargs -L1 strip
@@ -49,7 +56,3 @@ package() {
chown -R 8333:8333 $pkgdir/var/lib/$pkgname
chmod -R 700 $pkgdir/var/lib/$pkgname
}
-md5sums=('19e530a9b60e3a0987998a87b30d8cdc'
- '8e2ff558c2538e53c177513ad7d8b9a5'
- 'a388684057de2bb543cb7f795dc693cf'
- '4a9ab4997487bb5f8e3c6b1d580045af')