summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0af4b19e74ef4b50b5315d189084b0b1513add2a (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
# Maintainer: Simón Oroño <simonorono@protonmail.com>

pkgname='iop-token'
pkgver=3.0.1
pkgrel=1
pkgbase="$pkgname"
pkgdesc="IoP is the  digital currency from the Internet of People that enables instant payments to anyone, anywhere in the world."
arch=('i686' 'x86_64')
url="http://www.fermat.org/"
makedepends=('git' 'boost' 'libevent' 'qt5-base' 'qt5-tools' 'qrencode' 'protobuf' 'zeromq')
depends=(boost-libs desktop-file-utils libevent qt5-base qrencode protobuf zeromq)
license=('MIT')
source=(https://github.com/Fermat-ORG/iop-token/archive/a557231f4a4200960e5606bcf0e07cee63f65d6d.zip)
sha256sums=('53791fe15d1891fd68ba048f331f9bd8b6cd60aa59cfcc6db1fbca447bf6c643')

build() {
  cd "iop-token-a557231f4a4200960e5606bcf0e07cee63f65d6d"
  ./autogen.sh
  ./configure --prefix=/usr --with-gui=qt5 --with-incompatible-bdb
  make -j 2
}

package() {
  cd "iop-token-a557231f4a4200960e5606bcf0e07cee63f65d6d"
  install -Dm755 src/qt/IoP-qt "$pkgdir"/usr/bin/IoP-qt

  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}