Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

namecoin-daemon-git PKGBUILD for Arch Linux AUR

View PKGBUILD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
# Maintainer: huma
# Contributor: Noel Maersk <veox at wemakethings dot net>
 
pkgname=namecoin-daemon-git
_gitname=namecoin
pkgver=20131031
pkgrel=1
pkgdesc="Headless namecoin daemon (git version)"
arch=('i686' 'x86_64')
license=('MIT')
url="https://github.com/namecoin/namecoin"
makedepends=('boost>=1.40' 'miniupnpc' 'git')
provides=('namecoin-daemon')
conflicts=('namecoind')
source="git://github.com/namecoin/namecoin.git"
md5sums=('SKIP')
 
pkgver() {
cd "$srcdir/$_gitname"
 
# Use the tag of the last commit
#git describe --always | sed 's|-|.|g'
 
# Use date
git log -n1 --format="%ci" | awk '{print $1}' | sed s/-//g
}
 
build() {
cd "$srcdir/$_gitname/src"
 
sed -i '15s|Bstatic|Bdynamic|' makefile.unix # boost fix
make -f makefile.unix namecoind
}
 
package() {
cd "$srcdir/$_gitname/src"
 
install -Dm0755 namecoind ${pkgdir}/usr/bin/namecoind
install -Dm644 ../COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.