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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue May 25 21:31:30 UTC 2021


    Date: Tuesday, May 25, 2021 @ 21:31:29
  Author: svenstaro
Revision: 946377

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-25 21:31:19 UTC (rev 946376)
+++ PKGBUILD	2021-05-25 21:31:29 UTC (rev 946377)
@@ -1,44 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Gordin <9ordin @t gmail dot com>
-
-pkgname=lolcat
-pkgver=100.0.0
-pkgrel=3
-pkgdesc='Okay, no unicorns. But rainbows!!'
-url='https://github.com/busyloop/lolcat'
-arch=('any')
-license=('custom')
-depends=('ruby' 'ruby-paint' 'ruby-optimist' 'ruby-manpages')
-options=('!emptydirs')
-source=(https://github.com/busyloop/lolcat/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('5a155a0ec68715306a90384c1d624b7fd80a1286fa92938040fdd781c7053e52')
-sha512sums=('59ed3480386f0d7eb0a2a94f5cfd684f3cd30a74504ba3281caa0356db43158353d4fb9b306842d89ec63ddca661bf90856c2593aaa99124d665f33d9698dbce')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  sed -r 's|~>|>=|g' -i lolcat.gemspec
-  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
-
-  install -Dm 644 "${pkgdir}/${_gemdir}/gems/lolcat-${pkgver}/man/lolcat.6" \
-    -t "${pkgdir}/usr/share/man/man6"
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-
-  rm "${pkgdir}/${_gemdir}/cache/${pkgname}-${pkgver}.gem"
-}
-
-# vim: ts=2 sw=2 et:

Copied: lolcat/repos/community-any/PKGBUILD (from rev 946376, lolcat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-25 21:31:29 UTC (rev 946377)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Gordin <9ordin @t gmail dot com>
+
+pkgname=lolcat
+pkgver=100.0.1
+pkgrel=1
+pkgdesc='Okay, no unicorns. But rainbows!!'
+url='https://github.com/busyloop/lolcat'
+arch=('any')
+license=('custom')
+depends=('ruby' 'ruby-paint' 'ruby-optimist' 'ruby-manpages')
+options=('!emptydirs')
+source=(https://github.com/busyloop/lolcat/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('3f4127e022a55cf201f167c57ffcffbb3ba3f2bd2cbd9dd6358de4208029ae08')
+sha512sums=('23775e63e6265dc7fadc0849dffa79812c2a7e5ddd5301355e03a05388a64689cd6d830820852ae198cb719ab2161effb85d5c1a33f83d5d1c5cd8d8a774acb0')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -r 's|~>|>=|g' -i lolcat.gemspec
+  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
+
+  install -Dm 644 "${pkgdir}/${_gemdir}/gems/lolcat-${pkgver}/man/lolcat.6" \
+    -t "${pkgdir}/usr/share/man/man6"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm "${pkgdir}/${_gemdir}/cache/${pkgname}-${pkgver}.gem"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list