diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -2,14 +2,15 @@ pkgname=pigeon-qt pkgver=0.15.99 -pkgrel=3 +pkgrel=6 arch=('i686' 'x86_64') url="http://pigeoncoin.org/" license=('MIT') pkgdesc="Cryptocurrency wallet(QT)" -depends=(boost-libs qt5-base db4.8 zeromq miniupnpc qrencode protobuf libevent) +depends=('openssl-1.0' 'boost-libs' 'libevent' 'db4.8' 'qt5-base' 'protobuf') +optdepends=('miniupnpc: Automatic UPnP port mapping' 'qrencode: For generating QR codes within the GUI' 'zeromq: Send notifications via zeromq') makedepends=(boost qt5-tools) -conflicts=(pigeon) +conflicts=('pigeon' 'pigeond') install=pigeon-qt.install source=("${pkgname%-git}::git+http://github.com/Pigeoncoin/pigeoncoin.git#tag=v0.15.99.3" "$pkgname.desktop") @@ -17,17 +18,22 @@ sha256sums=('SKIP' '331bd8fb38aae6d94a0e7494ff183f8d918eeb6d143ffcfa8ca61546338f265d') build() { - cd "$srcdir/$pkgname" + cd "$srcdir/$pkgname" || exit + find . -type f -iname "*.sh" -exec chmod +x {} \; + export PKG_CONFIG_PATH="/usr/lib/openssl-1.0/pkgconfig" + export CXXFLAGS+=" -I/usr/include/openssl-1.0" + export LDFLAGS+=" -L/usr/lib/openssl-1.0 -lssl" ./autogen.sh - ./configure --with-gui=qt5 - make + ./configure --prefix=/usr --with-pic --disable-shared --enable-cxx \ + --disable-bench --disable-tests + make ${MAKEFLAGS} } package() { install -Dm644 pigeon-qt.desktop "$pkgdir"/usr/share/applications/pigeon.desktop - cd "$srcdir/$pkgname" - install -Dm755 src/qt/pigeon-qt "$pkgdir"/usr/bin/pigeon-qt + cd "$srcdir/$pkgname" || exit install -Dm644 share/pixmaps/pigeon128.png "$pkgdir"/usr/share/pixmaps/pigeon128.png install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + make DESTDIR="${pkgdir}" install } |