From 6eec89dd79e3e5fb3fde28ff0a0a8514cd173da6 Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Mon, 16 Dec 2013 03:59:20 +0200 Subject: adding litecoin-qt version 0.8.6.1 to pcr --- pcr/litecoin-qt/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ pcr/litecoin-qt/litecoin-qt.desktop | 12 ++++++++++++ pcr/litecoin-qt/litecoin-qt.install | 11 +++++++++++ 3 files changed, 59 insertions(+) create mode 100644 pcr/litecoin-qt/PKGBUILD create mode 100644 pcr/litecoin-qt/litecoin-qt.desktop create mode 100644 pcr/litecoin-qt/litecoin-qt.install (limited to 'pcr') diff --git a/pcr/litecoin-qt/PKGBUILD b/pcr/litecoin-qt/PKGBUILD new file mode 100644 index 000000000..28aaf2c0c --- /dev/null +++ b/pcr/litecoin-qt/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Loïc Guitaut + +pkgname='litecoin-qt' +pkgver=0.8.6.1 +pkgrel=2 +arch=('i686' 'x86_64') +url="http://www.litecoin.org/" +makedepends=('boost' 'automoc4' 'qrencode' 'miniupnpc') +license=('MIT') +pkgdesc="Peer-to-peer network based digital currency (QT)" +depends=(boost-libs qt4 miniupnpc qrencode) +conflicts=(litecoin) +install=litecoin-qt.install +source=("https://github.com/litecoin-project/litecoin/archive/v$pkgver.tar.gz" + "$pkgname.desktop") +sha256sums=('8aef9e936b57b90d506c5dd2e350c3d0673640b69beb9975d172136eec1d8b34' + 'cfc53dc9028745358235698ddd562d3e6b4a3ea9f896f5efc1aa8cd81f595559') + +build() { + cd "$srcdir/litecoin-$pkgver" + + # and make qt gui + qmake-qt4 USE_QRCODE=1 USE_UPNP=1 + make +} + + +package() { + install -Dm644 litecoin-qt.desktop "$pkgdir"/usr/share/applications/litecoin.desktop + cd "$srcdir/litecoin-$pkgver" + install -Dm755 litecoin-qt "$pkgdir"/usr/bin/litecoin-qt + install -Dm644 share/pixmaps/bitcoin128.png "$pkgdir"/usr/share/pixmaps/litecoin128.png + + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + diff --git a/pcr/litecoin-qt/litecoin-qt.desktop b/pcr/litecoin-qt/litecoin-qt.desktop new file mode 100644 index 000000000..d3b9b365f --- /dev/null +++ b/pcr/litecoin-qt/litecoin-qt.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Litecoin +Comment=Litecoin P2P Cryptocurrency +Comment[fr]=Litecoin, monnaie virtuelle cryptographique pair à pair +Comment[tr]=Litecoin, eşten eşe kriptografik sanal para birimi +Exec=/usr/bin/litecoin-qt +Terminal=false +Type=Application +Icon=/usr/share/pixmaps/litecoin128.png +MimeType=x-scheme-handler/litecoin; +Categories=Office; diff --git a/pcr/litecoin-qt/litecoin-qt.install b/pcr/litecoin-qt/litecoin-qt.install new file mode 100644 index 000000000..f98ba7338 --- /dev/null +++ b/pcr/litecoin-qt/litecoin-qt.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} -- cgit v1.2.3-54-g00ecf