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

Levente Polyak anthraxx at archlinux.org
Wed Apr 11 22:06:07 UTC 2018


    Date: Wednesday, April 11, 2018 @ 22:06:06
  Author: anthraxx
Revision: 315820

archrelease: copy trunk to community-any

Added:
  lolcat/repos/community-any/PKGBUILD
    (from rev 315819, lolcat/trunk/PKGBUILD)
Deleted:
  lolcat/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-11 22:05:59 UTC (rev 315819)
+++ PKGBUILD	2018-04-11 22:06:06 UTC (rev 315820)
@@ -1,39 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Gordin <9ordin @t gmail dot com>
-
-pkgname=lolcat
-pkgver=90.8.8
-pkgrel=2
-pkgdesc='Okay, no unicorns. But rainbows!!'
-url='https://github.com/busyloop/lolcat'
-arch=('any')
-license=('custom')
-depends=('ruby' 'ruby-paint' 'ruby-trollop')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/busyloop/lolcat/archive/v${pkgver}.tar.gz)
-sha256sums=('3925c462d594b1882ce6b5378d4526c52103676ebce4fe940527c9768fc6ecff')
-sha512sums=('5f9acbaafc41c5035da43fcff03b637206940980bc0a6226bc4aef2d5b2604a8ee10c62fa50c61cc0a89a9c8bd3efd3393d017b94f3fc338a826d83c2b36fb2d')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  sed -r 's|~>|>=|g' -i lolcat.gemspec # don't give a fuck about rubys bla bla
-  sed 's|git ls-files -- bin/\*|find bin -type f|' -i lolcat.gemspec
-  sed 's|git ls-files -- {test,spec,features}/*|echo|' -i lolcat.gemspec
-  sed 's|git ls-files|find -type f|' -i lolcat.gemspec
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  gem build lolcat.gemspec
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  local _gemdir="$(gem env gemdir)"
-  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${pkgname}-${pkgver}.gem
-  rm "${pkgdir}/${_gemdir}/cache/${pkgname}-${pkgver}.gem"
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: lolcat/repos/community-any/PKGBUILD (from rev 315819, lolcat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-11 22:06:06 UTC (rev 315820)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Gordin <9ordin @t gmail dot com>
+
+pkgname=lolcat
+pkgver=99.9.9
+pkgrel=1
+pkgdesc='Okay, no unicorns. But rainbows!!'
+url='https://github.com/busyloop/lolcat'
+arch=('any')
+license=('custom')
+depends=('ruby' 'ruby-paint' 'ruby-trollop' 'ruby-manpages')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/busyloop/lolcat/archive/v${pkgver}.tar.gz)
+sha256sums=('10ac193276abb46e0c8b7af02048f9e622f09b3f37d640df7d1e870e6cd349b2')
+sha512sums=('0e32bd3ff892aae56ea1f9b58ff2c4907004f7c6cb3af1e28f468e6726a5d9ccc28464df76300c5817facaa9f30d1e4f5e0ed2934ff58e396ced271ab380d657')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -r 's|~>|>=|g' -i lolcat.gemspec # don't give a fuck about rubys bla bla
+  sed 's|git ls-files -- bin/\*|find bin -type f|' -i lolcat.gemspec
+  sed 's|git ls-files -- {test,spec,features}/*|echo|' -i lolcat.gemspec
+  sed 's|git ls-files|find -type f|' -i lolcat.gemspec
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  gem build lolcat.gemspec
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${pkgname}-${pkgver}.gem
+  rm "${pkgdir}/${_gemdir}/cache/${pkgname}-${pkgver}.gem" \
+    "${pkgdir}/usr/share/man/man6/lolcat.6"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 "${pkgdir}/${_gemdir}/gems/lolcat-${pkgver}/man/lolcat.6" -t "${pkgdir}/usr/share/man/man6"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list