diff options
author | bitwave | 2017-08-05 12:05:26 +0200 |
---|---|---|
committer | bitwave | 2017-08-05 12:05:26 +0200 |
commit | e2b11f32d6a6c20f36463cb055d0a2865caec90d (patch) | |
tree | dcf492837b8cdfa2758a18cf8eb4e3715a455c48 | |
parent | 1bbb64bfaaf100bbe08d9fb54b0da7b444043629 (diff) | |
download | aur-e2b11f32d6a6c20f36463cb055d0a2865caec90d.tar.gz |
fix building problems
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | openssl.patch | 15 |
3 files changed, 39 insertions, 8 deletions
@@ -1,17 +1,21 @@ +# Generated by mksrcinfo v8 +# Sat Aug 5 10:03:51 UTC 2017 pkgbase = vanitygen-git pkgdesc = Bitcoin vanity address generator written in C pkgver = 20121024 - pkgrel = 2 + pkgrel = 3 url = https://github.com/samr7/vanitygen arch = i686 arch = x86_64 license = AGPL3 makedepends = git - depends = openssl + depends = openssl-1.0 depends = pcre provides = vanitygen conflicts = vanitygen + source = openssl.patch source = git+https://github.com/samr7/vanitygen + sha256sums = 9f15f4858f6de2d7b93705b599bbcc69ab36a38c7116c1d449e9cef1ff11ac43 sha256sums = SKIP pkgname = vanitygen-git @@ -1,18 +1,21 @@ -# Maintainer: Serge Victor <arch@random.re> +# Maintainer: bitwave <aur [at] oomlu [d0t] de> +# Ex-Maintainer: Serge Victor <arch@random.re> # Ex-Maintainer: Andy Weidenbaum <archbaum@gmail.com> # Contributor: Christos Nouskas <nous at archlinux dot us> pkgname=vanitygen-git pkgver=20121024 -pkgrel=2 +pkgrel=3 pkgdesc="Bitcoin vanity address generator written in C" arch=('i686' 'x86_64') -depends=('openssl' 'pcre') +depends=('openssl-1.0' 'pcre') makedepends=('git') url="https://github.com/samr7/vanitygen" license=('AGPL3') -source=(git+https://github.com/samr7/vanitygen) -sha256sums=('SKIP') +source=("openssl.patch" + git+https://github.com/samr7/vanitygen) +sha256sums=('9f15f4858f6de2d7b93705b599bbcc69ab36a38c7116c1d449e9cef1ff11ac43' + 'SKIP') provides=('vanitygen') conflicts=('vanitygen') @@ -21,12 +24,21 @@ pkgver() { git log -1 --format="%cd" --date=short | sed "s|-||g" } -package_vanitygen-git() { +prepare() { + cd ${pkgname%-git} + + patch -Np0 -i $srcdir/openssl.patch +} + +build() { cd ${pkgname%-git} msg 'Building...' make most +} +package() { + cd ${pkgname%-git} msg 'Installing executables...' install -D -m755 vanitygen $pkgdir/usr/bin/vanitygen install -D -m755 keyconv $pkgdir/usr/bin/keyconv diff --git a/openssl.patch b/openssl.patch new file mode 100644 index 000000000000..72de817c5ebe --- /dev/null +++ b/openssl.patch @@ -0,0 +1,15 @@ +--- Makefile 2017-08-05 11:57:48.002413580 +0200 ++++ Makefile.new 2017-08-05 11:57:18.012051717 +0200 +@@ -1,8 +1,10 @@ +-LIBS=-lpcre -lcrypto -lm -lpthread +-CFLAGS=-ggdb -O3 -Wall ++LIBS=-lpcre -lcrypto -lm -lpthread -L/usr/lib/openssl-1.0 -lssl ++CFLAGS=-ggdb -O3 -Wall -I/usr/include/openssl-1.0 + OBJS=vanitygen.o oclvanitygen.o oclvanityminer.o oclengine.o keyconv.o pattern.o util.o + PROGS=vanitygen keyconv oclvanitygen oclvanityminer + ++PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig" ++ + PLATFORM=$(shell uname -s) + ifeq ($(PLATFORM),Darwin) + OPENCL_LIBS=-framework OpenCL |