summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlukpod2017-12-13 20:15:48 +0100
committerlukpod2017-12-13 20:15:48 +0100
commitdb4640653c4e7b38d0c23028154dec6d5e32e131 (patch)
tree5f0f46034c7ae741ee9687bde584b8bb82ca3d0e
parent8a4d98fa17eb26b3d2b23694a0f1fd8734839dcc (diff)
downloadaur-db4640653c4e7b38d0c23028154dec6d5e32e131.tar.gz
Update to build with Qt 5.10 and OpenSSL 1.1
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD27
2 files changed, 18 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a9a01c25f6a..20727d19dc9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
pkgbase = qtbitcointrader
pkgdesc = Secure Trading Client for most popular Bitcoin exchanges
pkgver = 1.40.09
- pkgrel = 1
- url = http://centrabit.com/
- arch = i686
+ pkgrel = 2
+ url = https://centrabit.com/
arch = x86_64
license = GPL3
depends = qt5-multimedia
depends = qt5-script
source = https://downloads.sourceforge.net/project/bitcointrader/SRC/QtBitcoinTrader-1.40.09.tar.gz
+ source = https://raw.githubusercontent.com/JulyIGHOR/QtBitcoinTrader/master/src/julyaes256.cpp
sha256sums = b40c1a58e92c22bfc1d3384c3162cdf0e60b1a93884c7fce45b57f0590fe245c
+ sha256sums = 7fb8d145dadd3b75552d93830cb73b6f6027d04285a5c884e26895b66503135f
pkgname = qtbitcointrader
diff --git a/PKGBUILD b/PKGBUILD
index e21812897c5..2b5d034d87f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,27 @@
pkgname=qtbitcointrader
pkgver=1.40.09
-pkgrel=1
+pkgrel=2
pkgdesc="Secure Trading Client for most popular Bitcoin exchanges"
-arch=(i686 x86_64)
-url=http://centrabit.com/
+arch=(x86_64)
+url=https://centrabit.com/
license=(GPL3)
depends=(qt5-multimedia qt5-script)
-source=(https://downloads.sourceforge.net/project/bitcointrader/SRC/QtBitcoinTrader-$pkgver.tar.gz)
-sha256sums=(b40c1a58e92c22bfc1d3384c3162cdf0e60b1a93884c7fce45b57f0590fe245c)
+source=(https://downloads.sourceforge.net/project/bitcointrader/SRC/QtBitcoinTrader-$pkgver.tar.gz
+ https://raw.githubusercontent.com/JulyIGHOR/QtBitcoinTrader/master/src/julyaes256.cpp)
+sha256sums=(b40c1a58e92c22bfc1d3384c3162cdf0e60b1a93884c7fce45b57f0590fe245c
+ 7fb8d145dadd3b75552d93830cb73b6f6027d04285a5c884e26895b66503135f)
+
+prepare() {
+ sed -i 1,4d QtBitcoinTrader-$pkgver/src/QtBitcoinTrader_Desktop.pro
+ cp julyaes256.cpp QtBitcoinTrader-$pkgver/src/
+}
build() {
cd QtBitcoinTrader-$pkgver/src/
- qmake-qt5 QMAKE_CXXFLAGS_RELEASE="$CPPFLAGS -I/usr/include/openssl-1.0 $CXXFLAGS" \
- QMAKE_LFLAGS_RELEASE="$LDFLAGS -L/usr/lib/openssl-1.0"
+ qmake-qt5 QMAKE_CXXFLAGS_RELEASE="$CPPFLAGS $CXXFLAGS" QMAKE_LFLAGS_RELEASE="$LDFLAGS"
make
}
package() {
- cd QtBitcoinTrader-$pkgver/src/
-
- make INSTALL_ROOT=$pkgdir install
-
- mkdir -p $pkgdir/usr/share/doc/QtBitcoinTrader/
- cp LICENSE.GPL3 $pkgdir/usr/share/doc/QtBitcoinTrader/
+ make -C QtBitcoinTrader-$pkgver/src/ INSTALL_ROOT=$pkgdir install
}