blob: 0b04827972ec9c1513d84e8406d1828a880e5a96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer : Aurélien Desbrières <aurelien@hackers.camp>
# Contributor : 2bluesc <2bluesc at gmail.com>
# Contributor : mazzolino <maze+aur at strahlungsfrei.de>
# Contributor : Pieter Kokx <pieter@kokx.nl>
pkgname=armory
_pkgname=BitcoinArmory
pkgver=0.92.3
_pkgver=0.92.3
pkgrel=2
pkgdesc="Python-Based Bitcoin Software"
arch=('i686' 'x86_64')
url="https://github.com/etotheipi/BitcoinArmory"
license=('AGPL3')
groups=()
depends=('crypto++' 'swig' 'python2' 'twisted' 'qt4' 'python2-pyqt4' 'python2-bsddb' 'python2-psutil')
makedepends=('git' 'gcc' 'make')
provides=('armory')
conflicts=('armory')
replaces=()
backup=()
options=()
install=
source=("run-armory.sh" "build_detect_platform-01.patch" "http://github.com/etotheipi/BitcoinArmory/archive/v$_pkgver.tar.gz")
noextract=()
build() {
cd $srcdir/BitcoinArmory-$_pkgver/
patch -p0 -i $srcdir//build_detect_platform-01.patch
make PYVER=python2.7
}
package() {
install -Dm 755 "$srcdir/run-armory.sh" "$pkgdir/usr/bin/armory"
mkdir -p "$pkgdir/opt"
cp -R "$srcdir/$_pkgname-$_pkgver/" "$pkgdir/opt/"
mv "$pkgdir/opt/$_pkgname-$_pkgver" "$pkgdir/opt/$_pkgname"
rm -rf "$pkgdir/opt/$_pkgname/cppForSwig/"
rm -rf "$pkgdir/opt/$_pkgname/.git/"
rm -rf "$pkgdir/opt/$_pkgname/.gitignore"
}
|