desktop/gist/PKGBUILD
2015-04-26 22:09:00 +02:00

20 lines
634 B
Bash

pkgname=gist
pkgver=4.3.0
pkgrel=1
pkgdesc="Provides a gist command to use from the terminal to upload content to https://gist.github.com/."
arch=('x86_64')
url="http://github.com/defunkt/gist"
license=('MIT')
depends=('ruby')
source=("https://github.com/defunkt/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('d7a5e77aba92c677fd89a4a8ec36d077')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 build/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 build/${pkgname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
install -Dm644 LICENSE.MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}