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

Levente Polyak anthraxx at archlinux.org
Wed Jun 6 20:19:56 UTC 2018


    Date: Wednesday, June 6, 2018 @ 20:19:53
  Author: anthraxx
Revision: 341553

archrelease: copy trunk to community-any

Added:
  ruby-kramdown/repos/community-any/PKGBUILD
    (from rev 341552, ruby-kramdown/trunk/PKGBUILD)
Deleted:
  ruby-kramdown/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-06 20:19:40 UTC (rev 341552)
+++ PKGBUILD	2018-06-06 20:19:53 UTC (rev 341553)
@@ -1,40 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gemname=kramdown
-pkgname=ruby-kramdown
-pkgver=1.16.2
-pkgrel=2
-pkgdesc='Fast, pure Ruby Markdown superset converter, using a strict syntax definition'
-url='https://kramdown.gettalong.org/'
-arch=('any')
-license=('MIT')
-depends=('ruby')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gettalong/kramdown/archive/REL_${pkgver//./_}.tar.gz)
-sha256sums=('28f3e9ec689aa15334f2b027f890e55c6196fc974015e4c8f27f4a4312a8d0cb')
-sha512sums=('789e2eff48d4f4a613432ffb165d6a82134cf4bd49a03c4030a246f6835580a536a36c86f23206671b3dde049de1bc2ca55ca9947c9e9f2b179fd9a59f4f91f1')
-
-prepare() {
-  cd ${_gemname}-REL_${pkgver//./_}
-  rake gemspec
-  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
-}
-
-build() {
-  cd ${_gemname}-REL_${pkgver//./_}
-  gem build ${_gemname}.gemspec
-}
-
-package() {
-  cd ${_gemname}-REL_${pkgver//./_}
-  local _gemdir="$(gem env gemdir)"
-  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -d "${pkgdir}/usr/share/man/man1"
-  mv "${pkgdir}/${_gemdir}/gems/kramdown-${pkgver}/man/man1/kramdown.1" "${pkgdir}/usr/share/man/man1"
-  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
-  rm -r "${pkgdir}/${_gemdir}/gems/kramdown-${pkgver}/test"
-}
-
-# vim: ts=2 sw=2 et:

Copied: ruby-kramdown/repos/community-any/PKGBUILD (from rev 341552, ruby-kramdown/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-06 20:19:53 UTC (rev 341553)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=kramdown
+pkgname=ruby-kramdown
+pkgver=1.17.0
+pkgrel=1
+pkgdesc='Fast, pure Ruby Markdown superset converter, using a strict syntax definition'
+url='https://kramdown.gettalong.org/'
+arch=('any')
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rdoc' 'ruby-rake')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gettalong/kramdown/archive/REL_${pkgver//./_}.tar.gz)
+sha256sums=('3f2071848a0cf2283ed52e346061f05d3fca9cfec513bef5d73bdeb3bc7b97d9')
+sha512sums=('bf9ab87c1245cd0b920aa22b3107d595b4f55ff44f364076a3da86d3d830e895344270b457c6c38bdf3eaaef88e11ac895d9570e58f5c582e74b8f2288e390d7')
+
+prepare() {
+  cd ${_gemname}-REL_${pkgver//./_}
+  rake gemspec
+  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
+}
+
+build() {
+  cd ${_gemname}-REL_${pkgver//./_}
+  gem build ${_gemname}.gemspec
+}
+
+package() {
+  cd ${_gemname}-REL_${pkgver//./_}
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -d "${pkgdir}/usr/share/man/man1"
+  mv "${pkgdir}/${_gemdir}/gems/kramdown-${pkgver}/man/man1/kramdown.1" "${pkgdir}/usr/share/man/man1"
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+  rm -r "${pkgdir}/${_gemdir}/gems/kramdown-${pkgver}/test"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list