summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen2015-06-01 15:51:57 +0200
committerToke Høiland-Jørgensen2015-06-01 15:51:57 +0200
commit69fc06050838477008646bf21f0da3445908d951 (patch)
treeb45e3d88740a6687f5371305753cf0e37f08a1b2
downloadaur-69fc06050838477008646bf21f0da3445908d951.tar.gz
Import PKGBUILD
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD25
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5f2bad55dd1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 13:49:23 UTC 2015
+pkgbase = ruby-kramdown-rfc2629
+ pkgdesc = An RFC2629 (XML2RFC) generating backend for Thomas Leitner's kramdown markdown parser
+ pkgver = 1.0.26
+ pkgrel = 1
+ url = http://github.com/cabo/kramdown-rfc2629
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = ruby-kramdown>=1.6
+ noextract = kramdown-rfc2629-1.0.26.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/kramdown-rfc2629-1.0.26.gem
+ sha256sums = 8095d01dcb789ca8c133da5586b83f9c237000e0cdc4a506070eedc6a141b945
+
+pkgname = ruby-kramdown-rfc2629
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bea97435ff9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Toke Høiland-Jørgensen <toke@toke.dk>
+# Based on the ruby-kramdown PKGBUILD
+
+pkgname=ruby-kramdown-rfc2629
+pkgver=1.0.26
+pkgrel=1
+pkgdesc="An RFC2629 (XML2RFC) generating backend for Thomas Leitner's kramdown markdown parser"
+arch=(any)
+url='http://github.com/cabo/kramdown-rfc2629'
+license=('MIT')
+depends=('ruby' 'ruby-kramdown>=1.6')
+options=(!emptydirs)
+source=("https://rubygems.org/downloads/kramdown-rfc2629-${pkgver}.gem")
+noextract=("kramdown-rfc2629-${pkgver}.gem")
+sha256sums=('8095d01dcb789ca8c133da5586b83f9c237000e0cdc4a506070eedc6a141b945')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+
+ gem install --ignore-dependencies --no-user-install \
+ -i "${pkgdir}/${_gemdir}" -n "${pkgdir}/usr/bin" "kramdown-rfc2629-${pkgver}.gem"
+
+ install -D -m644 "${pkgdir}/${_gemdir}/gems/kramdown-rfc2629-${pkgver}/LICENSE" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}