summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaansu2016-09-08 15:21:31 -0700
committerRaansu2016-09-08 15:21:31 -0700
commit4360b874cc9ba764456111aace4ac3c4a9bf47f0 (patch)
tree86f15d665e442a84390cf0fe85bfaf6c8dc09896
parent306972710f967b4783d303a28fdd7feda3b17d35 (diff)
downloadaur-4360b874cc9ba764456111aace4ac3c4a9bf47f0.tar.gz
Emergency typo fix in patchfile
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD30
-rw-r--r--diff.patch2
3 files changed, 23 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd4d6d1fcd6..74a6d96190e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = clam-git
pkgdesc = The most widely held crypto-currency ever! This package provides both the GUI QT4 and daemon clients.
- pkgver = 1.4.5.273.g304677d
- pkgrel = 1
+ pkgver = 1.4.5.277.g9085811
+ pkgrel = 2
url = http://www.clamclient.com
arch = any
license = MIT
@@ -24,7 +24,7 @@ pkgbase = clam-git
provides = clamd
conflicts = clam-qt
conflicts = clamd
- source = git://github.com/nochowderforyou/clams.git
+ source = git://github.com/ShapeShifter499/clams.git
source = diff.patch
sha256sums = SKIP
sha256sums = 35bf3c157717e8d6376c3a15b18297b6dadf842f5aff79c9243e26b77bbb1bb6
diff --git a/PKGBUILD b/PKGBUILD
index 5ceee8fd5bc..fd52a78e2b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
pkgname='clam-git'
_gitname=clams
-pkgver=1.4.5.273.g304677d
-pkgrel=1
+pkgver=1.4.5.277.g9085811
+pkgrel=2
arch=('any')
url="http://www.clamclient.com"
depends=('qt4' 'miniupnpc' 'db4.8' 'boost-libs' 'qrencode')
@@ -15,7 +15,7 @@ license=('MIT')
pkgdesc="The most widely held crypto-currency ever! This package provides both the GUI QT4 and daemon clients."
provides=('clam-qt' 'clamd')
conflicts=('clam-qt' 'clamd')
-source=("git://github.com/nochowderforyou/clams.git"
+source=("git://github.com/ShapeShifter499/clams.git"
"diff.patch")
sha256sums=('SKIP'
@@ -26,10 +26,10 @@ pkgver() {
git describe | sed "s/^v//; s/-/./g"
}
-prepare() {
- cd "$srcdir/$_gitname"
- patch -Np1 -i "$srcdir"/diff.patch
-}
+#prepare() {
+# cd "$srcdir/$_gitname"
+# patch -Np1 -i "$srcdir"/diff.patch
+#}
build() {
cd "$srcdir/$_gitname"
@@ -41,11 +41,19 @@ build() {
package() {
# install clam-qt client
- install -D -m755 "$srcdir/$_gitname/src/qt/clam-qt" "$pkgdir/usr/bin/clam-qt"
-
+ msg2 'Installing clam-qt...'
+ install -Dm755 "$srcdir/$_gitname/src/qt/clam-qt" "$pkgdir/usr/bin/clam-qt"
+ install -Dm644 "$srcdir/$_gitname/share/pixmaps/clams80.xpm" "$pkgdir/usr/share/pixmaps/clams80.xpm"
+ desktop-file-install -m 644 --dir="$pkgdir/usr/share/applications/" "$srcdir/$_gitname/contrib/debian/clam-qt.desktop"
+
# install clam daemon
- install -D -m755 "$srcdir/$_gitname/src/clamd" "$pkgdir/usr/bin/clamd"
+ msg2 'Installing clam-daemon...'
+ install -Dm755 "$srcdir/$_gitname/src/clamd" "$pkgdir/usr/bin/clamd"
+ install -Dm644 "$srcdir/$_gitname/contrib/debian/examples/clam.conf" "$pkgdir/usr/share/doc/$pkgname/examples/clam.conf"
+ install -Dm644 "$srcdir/$_gitname/contrib/debian/manpages/clamd.1" "$pkgdir/usr/share/man/man1/clamd.1"
+ install -Dm644 "$srcdir/$_gitname/contrib/debian/manpages/clam.conf.5" "$pkgdir/usr/share/man/man5/clam.conf.5"
+
# install license
- install -D -m644 "$srcdir/$_gitname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -D -m644 "$srcdir/$_gitname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
diff --git a/diff.patch b/diff.patch
index fed316d61e7..bcae7069e8f 100644
--- a/diff.patch
+++ b/diff.patch
@@ -35,7 +35,7 @@
- base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x35)(0x87)(0xCF);
- base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94);
+ base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,111);
-+ base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,96);
++ base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,196);
+ base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,239);
+ base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x35)(0x87)(0xCF).convert_to_container<std::vector<unsigned char> >();
+ base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x35)(0x83)(0x94).convert_to_container<std::vector<unsigned char> >();