void-packages/srcpkgs/vanitygen/template

24 lines
716 B
Bash

# Template file for 'vanitygen'
pkgname=vanitygen
version=0.22
revision=3
_commit=9e04497a127aa6413463ccf4a4aee75f0d581d92
wrksrc="vanitygen-${_commit}"
makedepends="pcre-devel libressl-devel"
short_desc="Bitcoin vanity address generator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="AGPL-3.0-or-later"
homepage="https://github.com/samr7/vanitygen"
changelog="https://raw.githubusercontent.com/samr7/vanitygen/master/CHANGELOG"
distfiles="https://github.com/samr7/vanitygen/archive/${_commit}.tar.gz"
checksum=cf81e1eb4c81a3dcf86ab681ef1ad9229702ad8b00d1367462f396718b13d1fc
do_build() {
make CC=$CC CFLAGS="$CFLAGS $LDFLAGS" ${makejobs}
}
do_install() {
vbin vanitygen
vbin keyconv
vlicense LICENSE
}