Date: Wednesday, April 11, 2018 @ 22:05:59
  Author: anthraxx
Revision: 315819

upgpkg: lolcat 99.9.9-1

Modified:
  lolcat/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-11 21:34:47 UTC (rev 315818)
+++ PKGBUILD    2018-04-11 22:05:59 UTC (rev 315819)
@@ -2,17 +2,17 @@
 # Contributor: Gordin <9ordin @t gmail dot com>
 
 pkgname=lolcat
-pkgver=90.8.8
-pkgrel=2
+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')
+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=('3925c462d594b1882ce6b5378d4526c52103676ebce4fe940527c9768fc6ecff')
-sha512sums=('5f9acbaafc41c5035da43fcff03b637206940980bc0a6226bc4aef2d5b2604a8ee10c62fa50c61cc0a89a9c8bd3efd3393d017b94f3fc338a826d83c2b36fb2d')
+sha256sums=('10ac193276abb46e0c8b7af02048f9e622f09b3f37d640df7d1e870e6cd349b2')
+sha512sums=('0e32bd3ff892aae56ea1f9b58ff2c4907004f7c6cb3af1e28f468e6726a5d9ccc28464df76300c5817facaa9f30d1e4f5e0ed2934ff58e396ced271ab380d657')
 
 prepare() {
   cd ${pkgname}-${pkgver}
@@ -31,9 +31,11 @@
   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"
+  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:

Reply via email to