aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-redcarpet/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ruby-redcarpet/APKBUILD')
-rw-r--r--unmaintained/ruby-redcarpet/APKBUILD47
1 files changed, 0 insertions, 47 deletions
diff --git a/unmaintained/ruby-redcarpet/APKBUILD b/unmaintained/ruby-redcarpet/APKBUILD
deleted file mode 100644
index 93c77b79a9..0000000000
--- a/unmaintained/ruby-redcarpet/APKBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# Contributor: Markus M. May <triplem@javafreedom.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_gemname=redcarpet
-pkgname=ruby-$_gemname
-# redmine 3.0.5 needs ~> 3.3.2
-pkgver=3.3.4
-pkgrel=0
-pkgdesc="A fast, safe and extensible Markdown to (X)HTML parser"
-url="http://github.com/vmg/redcarpet"
-arch="all"
-license="MIT"
-depends="ruby"
-depends_dev=
-makedepends="$depends_dev ruby-dev"
-install=""
-subpackages=""
-source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
-
-_builddir="$srcdir"/$_realname-$pkgver
-build() {
- return 0
-}
-
-package() {
- local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
- local _geminstdir=$_gemdir/gems/$_gemname-$pkgver
- mkdir -p "$pkgdir" || return 1
-
- gem install --local --install-dir "$pkgdir"/$_gemdir \
- --ignore-dependencies --verbose --no-rdoc --no-ri \
- "$srcdir"/$_gemname-$pkgver.gem || return 1
- rm -rf "$pkgdir"/$_gemdir/cache \
- "$pkgdir"/$_geminstdir/ext \
- "$pkgdir"/$_geminstdir/.require_paths
-
- cd "$pkgdir"
- for i in usr/lib/ruby/gems/*/bin/*; do
- if [ -e "$i" ]; then
- mkdir -p "$pkgdir"/usr/bin
- ln -s /$i "$pkgdir"/usr/bin/
- fi
- done
-}
-
-md5sums="ac276e95369ff2647a1e3caf6ffda8c6 redcarpet-3.3.4.gem"
-sha256sums="6fbf59f8fa23f84497cfb9bd1601ec35fa32f400d9034bf861c15dbbc02d6813 redcarpet-3.3.4.gem"
-sha512sums="8ef78c351d319b193167a5dc7b45fa39c81b02fe5c0d0102cbbeea2af85ed0b3e7a00b16a58596996739c2538ba3d95bc3e85d6614d85fb845c34891b4c407c2 redcarpet-3.3.4.gem"