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

Levente Polyak anthraxx at archlinux.org
Sun Mar 1 21:29:08 UTC 2020


    Date: Sunday, March 1, 2020 @ 21:29:08
  Author: anthraxx
Revision: 588248

archrelease: copy trunk to community-any

Added:
  gist/repos/community-any/PKGBUILD
    (from rev 588247, gist/trunk/PKGBUILD)
Deleted:
  gist/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 32 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-01 21:29:01 UTC (rev 588247)
+++ PKGBUILD	2020-03-01 21:29:08 UTC (rev 588248)
@@ -1,26 +0,0 @@
-# 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=5.0.0
-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=('9061a34ad2237fea719c6820112fe7ebc2748e8b44d7756a831f4f54aed876a4b03c403b15d70e35818e216b2106ccd2fc6696d26eb36079d8a82f5e2c8c99c1')
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm 755 build/${pkgname} -t "${pkgdir}/usr/bin"
-  install -Dm 644 build/${pkgname}.1 -t "${pkgdir}/usr/share/man/man1"
-  install -Dm 644 LICENSE.MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: gist/repos/community-any/PKGBUILD (from rev 588247, gist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-01 21:29:08 UTC (rev 588248)
@@ -0,0 +1,32 @@
+# 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=5.1.0
+pkgrel=1
+pkgdesc='Potentially the best command line gister'
+url='https://github.com/defunkt/gist'
+arch=('any')
+license=('custom:MIT')
+depends=('ruby')
+makedepends=('ruby-rake' 'ruby-ronn')
+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}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('7a63dd3f9c0d532890061f35f71cc7bc38d99958e1a34f1d3c6b596eaf6a2dcbb7a51ed9e8f3df961589038d5ee0391c348e636f277f7314eef26a5fafd90eac')
+b2sums=('2a8aa2ee5db34510040b5dca75e81b09c57e1a2e3e4db52ad34f82859407abf8c02670a566ac26d8b5e4176abddf1201af06e0cee7d6a4d783e4ebd9043d9734')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  rake build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  PREFIX="${pkgdir}/usr" rake install
+  install -Dm 644 LICENSE.MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list