updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / gist / PKGBUILD
blobbbc09f12457219e942f259de3c814c91d4075a3b
1 # Maintainer: Chris van Dijk (quigybo) <quigybo at hotmail dot com>
2 # Contributor: Scott Olson <scott at scott-olson dot org>
4 pkgname=gist
5 pkgver=2.0.3
6 _gitcommit=0ec104a
7 pkgrel=1
8 pkgdesc="Potentially the best command line gister"
9 arch=('any')
10 url="http://github.com/defunkt/gist"
11 license=('MIT')
12 depends=('ruby' 'git')
13 optdepends=("xclip: put pasted gist's url into X selection automagically")
14 source=("https://github.com/defunkt/${pkgname}/tarball/${_gitcommit}")
15 md5sums=('0f46e12dd46ffca626a214150a86709a')
17 package() {
18     cd "${srcdir}/defunkt-${pkgname}-${_gitcommit}"
20     install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
21     install -Dm644 man/${pkgname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
22     install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"