desktop/gist/PKGBUILD

22 lines
854 B
Bash
Raw Normal View History

pkgname=gist
2016-03-01 19:33:38 +08:00
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')
2015-09-29 18:24:33 +08:00
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")
2016-03-01 19:33:38 +08:00
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"
2015-09-29 18:24:33 +08:00
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
}