void-packages/srcpkgs/gist/template

22 lines
511 B
Bash

# Template file for 'gist'
pkgname=gist
version=5.0.0
revision=1
noarch=yes
hostmakedepends="ruby"
depends="ruby"
short_desc="Uploads content to gist.github.com"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="http://defunkt.io/gist/"
distfiles="https://github.com/defunkt/gist/archive/v${version}.tar.gz"
checksum=28a3ebaad90ede9a59bd4dbe4850a07cc6e3294a92849a0f0b17ebf6a17ea33b
do_build() {
rake standalone
}
do_install() {
rake PREFIX=$DESTDIR/usr install
vlicense LICENSE.MIT
}