void-packages/srcpkgs/gist/template

23 lines
514 B
Bash

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