diff options
-rw-r--r-- | .SRCINFO | 45 | ||||
-rw-r--r-- | PKGBUILD | 56 |
2 files changed, 101 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3eca48d390d7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,45 @@ +pkgbase = roger-wallet-git + pkgdesc = A peer-to-peer network-based digital currency (git version) + pkgver = v0.16.0rc3 + pkgrel = 1 + url = https://theholyroger.com + arch = i686 + arch = x86_64 + license = MIT + makedepends = pkg-config + makedepends = boost-libs + makedepends = boost + makedepends = db4.8 + makedepends = gcc + makedepends = gcc-libs + makedepends = git + makedepends = qrencode + makedepends = make + makedepends = automoc4 + makedepends = automake + makedepends = autoconf + makedepends = libtool + makedepends = zeromq + depends = qt4 + depends = miniupnpc + depends = openssl + depends = protobuf + provides = roger-wallet + provides = theholyroger + provides = theholyroger-qt + provides = theholyrogerd + provides = theholyroger-cli + provides = theholyroger-tx + provides = theholyroger-daemon + conflicts = roger-wallet + conflicts = theholyroger + conflicts = theholyroger-qt + conflicts = theholyrogerd + conflicts = theholyroger-cli + conflicts = theholyroger-tx + conflicts = theholyroger-daemon + source = git+https://github.com/TheHolyRoger/TheHolyRogerCoin.git + sha256sums = SKIP + +pkgname = roger-wallet-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5d347759427d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: Raansu <Gero3977@gmail.com> + +pkgname=roger-wallet-git +_gitname=TheHolyRogerCoin +pkgver=v0.16.0rc3 +pkgrel=1 +pkgdesc="A peer-to-peer network-based digital currency (git version)" +arch=('i686' 'x86_64') +url="https://theholyroger.com" +license=('MIT') +depends=('qt4' 'miniupnpc' 'openssl' 'protobuf') +makedepends=('pkg-config' 'boost-libs' 'boost' 'db4.8' 'gcc' 'gcc-libs' 'git' 'qrencode' 'make' 'automoc4' 'automake' 'autoconf' 'libtool' 'zeromq') +provides=('roger-wallet' 'theholyroger' 'theholyroger-qt' 'theholyrogerd' 'theholyroger-cli' 'theholyroger-tx' 'theholyroger-daemon') +conflicts=('roger-wallet' 'theholyroger' 'theholyroger-qt' 'theholyrogerd' 'theholyroger-cli' 'theholyroger-tx' 'theholyroger-daemon') +source=('git+https://github.com/TheHolyRoger/TheHolyRogerCoin.git') +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$_gitname" + git describe --tags| sed "s/-/./g" +} + +build() { + cd "$srcdir/$_gitname" + ./autogen.sh + ./configure + make -j$(nproc) + +} + +package() { + # install theholyroger-qt client + msg2 'Installing theholyroger-qt...' + install -Dm755 "$srcdir/$_gitname/src/qt/theholyroger-qt" "$pkgdir/usr/bin/theholyroger-qt" +# install -Dm644 "$srcdir/$_gitname/share/pixmaps/litecoin128.xpm" "$pkgdir/usr/share/pixmaps/litecoin128.xpm" +# desktop-file-install -m 644 --dir="$pkgdir/usr/share/applications/" "$srcdir/$_gitname/contrib/debian-litecoin/litecoin-qt.desktop" + + # install theholyroger-daemon + msg2 'Installing theholyroger-daemon...' + install -Dm755 "$srcdir/$_gitname/src/theholyrogerd" "$pkgdir/usr/bin/theholyrogerd" + install -Dm644 "$srcdir/$_gitname/doc/man/theholyroger-qt.1" "$pkgdir/usr/share/man/man1/theholyroger-qt.1" + install -Dm644 "$srcdir/$_gitname/doc/man/theholyroger-cli.1" "$pkgdir/usr/share/man/man1/theholyroger-cli.1" + install -Dm644 "$srcdir/$_gitname/doc/man/theholyroger-tx.1" "$pkgdir/usr/share/man/man1/theholyroger-tx.1" + install -Dm644 "$srcdir/$_gitname/doc/man/theholyrogerd.1" "$pkgdir/usr/share/man/man1/theholyrogerd.1" + + # install theholyroger-cli + msg2 'Installing theholyroger-cli...' + install -Dm755 "$srcdir/$_gitname/src/theholyroger-cli" "$pkgdir/usr/bin/theholyroger-cli" + + # install theholyroger-tx + msg2 'Installing theholyroger-tx...' + install -Dm755 "$srcdir/$_gitname/src/theholyroger-tx" "$pkgdir/usr/bin/theholyroger-tx" + + # install license + install -D -m644 "$srcdir/$_gitname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |