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

Levente Polyak anthraxx at archlinux.org
Wed Dec 13 20:51:40 UTC 2017


    Date: Wednesday, December 13, 2017 @ 20:51:39
  Author: anthraxx
Revision: 274296

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-13 20:51:31 UTC (rev 274295)
+++ PKGBUILD	2017-12-13 20:51:39 UTC (rev 274296)
@@ -1,40 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gemname=kramdown
-pkgname=ruby-kramdown
-pkgver=1.15.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')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gettalong/kramdown/archive/REL_${pkgver//./_}.tar.gz)
-sha256sums=('e08042f0dc924cd099ab13b257b107d5b0641702d1564fd3269f98d249924ad6')
-sha512sums=('3913163a967444ebc54298ac439d6473b9704f6a1b98a2f48401402a6122ef4641cd5fc89cbfea1eea450685da10589d8864e8642d498cf076c9a2fa100abeff')
-
-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 274295, ruby-kramdown/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-13 20:51:39 UTC (rev 274296)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=kramdown
+pkgname=ruby-kramdown
+pkgver=1.16.2
+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')
+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:



More information about the arch-commits mailing list