summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2015-03-02 10:43:25 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2015-03-02 19:49:42 -0300
commit463aaa2157ca1c3aa42d5f9663b015fe98255522 (patch)
tree0e0a3d694ae51aa9c8359e261007f0facbe5503f
parent28704a17d5ba57745df94c508701318b281fae4c (diff)
downloadabslibre-463aaa2157ca1c3aa42d5f9663b015fe98255522.tar.gz
abslibre-463aaa2157ca1c3aa42d5f9663b015fe98255522.tar.bz2
abslibre-463aaa2157ca1c3aa42d5f9663b015fe98255522.zip
fair-coin: upgrade
-rw-r--r--pcr/fair-coin/PKGBUILD51
1 files changed, 22 insertions, 29 deletions
diff --git a/pcr/fair-coin/PKGBUILD b/pcr/fair-coin/PKGBUILD
index 6d9c332ca..e96adecb3 100644
--- a/pcr/fair-coin/PKGBUILD
+++ b/pcr/fair-coin/PKGBUILD
@@ -4,25 +4,29 @@
pkgbase=fair-coin
pkgname=('faircoin-daemon' 'faircoin-qt')
-pkgver=1.2.0
+pkgver=1.5.0
pkgrel=1
arch=('i686' 'x86_64')
url="http://fair-coin.org/"
-makedepends=('boost' 'automoc4' 'qrencode' 'miniupnpc' 'protobuf')
+makedepends=('boost<1.58' 'automoc4' 'qrencode' 'miniupnpc' 'protobuf')
license=('custom:MIT')
source=(https://github.com/FairCoinTeam/fair-coin/archive/v${pkgver}.tar.gz
- https://github.com/FairCoinTeam/fair-coin/raw/v1.1.1/contrib/debian/novacoin-qt.desktop
- https://raw.githubusercontent.com/bitcoin/bitcoin/master/share/pixmaps/bitcoin128.png
- https://raw.github.com/FairCoinTeam/fair-coin/v$pkgver/contrib/debian/examples/novacoin.conf
- https://raw.github.com/FairCoinTeam/fair-coin/v$pkgver/contrib/debian/manpages/novacoind.1
- https://raw.github.com/FairCoinTeam/fair-coin/v$pkgver/contrib/debian/manpages/novacoin.conf.5)
+ https://raw.githubusercontent.com/FairCoinTeam/fair-coin/v1.2.0/contrib/debian/examples/novacoin.conf
+ https://raw.githubusercontent.com/FairCoinTeam/fair-coin/v1.2.0/contrib/debian/manpages/novacoin.conf.5
+ https://raw.githubusercontent.com/FairCoinTeam/fair-coin/v1.2.0/contrib/debian/manpages/novacoind.1
+ https://raw.githubusercontent.com/FairCoinTeam/fair-coin/v1.2.0/contrib/debian/novacoin-qt.desktop)
+md5sums=('714fd3d89b83ac645fc4f978c62d89df'
+ '9723b6420548b651316cacf36d760074'
+ 'a40ed2c3a72a6adfef312e255a50d85d'
+ 'aae79bab068decaa0288c3c7859404b9'
+ 'd28e6e9094215dcca33555e3b0876356')
prepare() {
- sed -i -e "s/NoVa/Fair/g" -e "s/nova/fair/g" \
- ${srcdir}/novacoin-qt.desktop \
- ${srcdir}/novacoin.conf \
- ${srcdir}/novacoind.1 \
- ${srcdir}/novacoin.conf.5
+ cd "${srcdir}"
+ sed -e "s/Nova/Fair/g" -e "s/nova/fair/g" \
+ -e "s/bitcoin/faircoin/g" \
+ -i novacoin-qt.desktop novacoin.conf \
+ novacoind.1 novacoin.conf.5
cd "$srcdir/$pkgbase-$pkgver"
./autogen.sh
@@ -45,11 +49,9 @@ package_faircoin-qt() {
cd "$srcdir/$pkgbase-$pkgver"
install -Dm755 src/qt/FairCoin-qt "$pkgdir"/usr/bin/faircoin-qt
- install -Dm644 "$srcdir"/novacoin-qt.desktop \
- "$pkgdir"/usr/share/applications/faircoin.desktop
- install -Dm644 "$srcdir"/bitcoin128.png \
- "$pkgdir"/usr/share/pixmaps/faircoin128.png
-
+ install -Dm644 "${srcdir}/novacoin-qt.desktop" "${pkgdir}"/usr/share/applications/faircoin-qt.desktop
+ install -Dm644 share/pixmaps/faircoin80.xpm "${pkgdir}"/usr/share/pixmaps/faircoin80.xpm
+ install -Dm644 share/pixmaps/faircoin32.xpm "${pkgdir}"/usr/share/pixmaps/faircoin32.xpm
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
@@ -59,12 +61,9 @@ package_faircoin-daemon() {
cd "$srcdir/$pkgbase-$pkgver"
install -Dm755 src/FairCoind "$pkgdir"/usr/bin/faircoind
- install -Dm644 "$srcdir"/novacoin.conf \
- "$pkgdir/usr/share/doc/$pkgname/examples/faircoin.conf"
- install -Dm644 "$srcdir"/novacoind.1 \
- "$pkgdir"/usr/share/man/man1/faircoind.1
- install -Dm644 "$srcdir"/novacoin.conf.5 \
- "$pkgdir"/usr/share/man/man5/faircoin.conf.5
+ install -Dm644 "${srcdir}"/novacoin.conf "${pkgdir}"/etc/faircoin.conf
+ install -Dm644 "${srcdir}"/novacoin.conf.5 "${pkgdir}"/usr/share/man/man5/faircoin.conf.5
+ install -Dm644 "${srcdir}"/novacoind.1 "${pkgdir}"/usr/share/man/man1/faircoind.1
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
@@ -76,9 +75,3 @@ package_faircoin-cli() {
install -Dm755 src/faircoin-cli "$pkgdir"/usr/bin/faircoin-cli
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
-md5sums=('ba30b5f35354bac5d4e14280356b5544'
- 'd28e6e9094215dcca33555e3b0876356'
- '0aae5f0110179e8e1d588530bcce5d2a'
- '9723b6420548b651316cacf36d760074'
- 'aae79bab068decaa0288c3c7859404b9'
- 'a40ed2c3a72a6adfef312e255a50d85d')