[arch-commits] Commit in (gist gist/repos gist/trunk gist/trunk/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed Jul 22 23:09:18 UTC 2015


    Date: Thursday, July 23, 2015 @ 01:09:18
  Author: anthraxx
Revision: 137290

addpkg gist 4.4.2-1

Added:
  gist/
  gist/repos/
  gist/trunk/
  gist/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Added: gist/trunk/PKGBUILD
===================================================================
--- gist/trunk/PKGBUILD	                        (rev 0)
+++ gist/trunk/PKGBUILD	2015-07-22 23:09:18 UTC (rev 137290)
@@ -0,0 +1,28 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Chris van Dijk (quigybo) <quigybo at hotmail dot com>
+# Contributor: Scott Olson <scott at scott-olson dot org>
+
+pkgname=gist
+pkgver=4.4.2
+pkgrel=1
+pkgdesc="Potentially the best command line gister"
+url="https://github.com/defunkt/gist"
+arch=('any')
+license=('custom: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=(${pkgname}-${pkgver}.tar.gz::https://github.com/defunkt/${pkgname}/archive/v${pkgver}.tar.gz)
+sha512sums=('e1b977a75e08353bee69594f3f328d375f0b179a5907120d0677c23fdea781e5073061160d09354897ecde7a2d395d094fe32edf48d845302382efc54fc910d3')
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 build/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm 644 build/${pkgname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+  install -Dm 644 LICENSE.MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list