summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-09 12:53:12 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-09 12:53:12 -0300
commit4645711edff969ad68ff4b1be8629dcfb33abd05 (patch)
tree6599df1eca35f77e8957fa28d6f8e4b1e3051ad9
parentca8154faa5191e6f1264fc2d46e5eb512535c51a (diff)
downloadabslibre-4645711edff969ad68ff4b1be8629dcfb33abd05.tar.gz
abslibre-4645711edff969ad68ff4b1be8629dcfb33abd05.tar.bz2
abslibre-4645711edff969ad68ff4b1be8629dcfb33abd05.zip
gist: add new package to [pcr]
-rw-r--r--pcr/gist/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/gist/PKGBUILD b/pcr/gist/PKGBUILD
new file mode 100644
index 000000000..23810d767
--- /dev/null
+++ b/pcr/gist/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (Arch): Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor (Arch): Chris van Dijk (quigybo) <quigybo at hotmail dot com>
+# Contributor (Arch): Scott Olson <scott at scott-olson dot org>
+
+pkgname=gist
+pkgver=4.4.0
+pkgrel=1
+pkgdesc="Potentially the best command line gister"
+url="https://github.com/defunkt/gist"
+arch=('any')
+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=(${pkgname}-${pkgver}.tar.gz::https://github.com/defunkt/${pkgname}/archive/v${pkgver}.tar.gz)
+sha512sums=('e59f77d5461f8e9540294f13467feccd3b8f1840758d579a31aff700c4dd421d25d49305210c21f5165bdc966f7b5e2497f021789173b02157603299f05bcea4')
+
+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: