Skip to content

Instantly share code, notes, and snippets.

@np
Created April 18, 2014 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save np/11041763 to your computer and use it in GitHub Desktop.
Save np/11041763 to your computer and use it in GitHub Desktop.
# notbit GIT version
# Contributor: alphazo@gmail.com
_gitname=notbit
pkgname=notbit-git
pkgver=r339.e7bd67e
pkgrel=1
pkgdesc="A minimal Bitmessage client"
arch=('i686' 'x86_64')
depends=('openssl')
license=('MIT')
url="https://github.com/bpeel/notbit"
makedepends=('git')
provides=("notbit=${pkgver}")
#install=${pkgname}.install
source=("git+https://github.com/bpeel/notbit.git")
sha1sums=('SKIP')
pkgver() {
cd "$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_gitname"
./autogen.sh
./configure --prefix=/usr \
make
}
package() {
cd "$_gitname"
make DESTDIR=${pkgdir} install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment