desktop/gist/PKGBUILD
2016-03-01 11:33:38 +00:00

22 lines
854 B
Bash

pkgname=gist
pkgver=4.5.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')
optdepends=("xclip: put pasted gist's url into X selection automagically"
"xsel: put pasted gist's url into X selection automagically")
source=("https://github.com/defunkt/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('e11782589936c011ea5e40bc8ca62533')
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"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
}