diff options
author | davidovski <david@davidovski.xyz> | 2023-02-02 14:10:02 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-02-02 14:10:02 +0000 |
commit | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch) | |
tree | 76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/ruby-kramdown/ruby-kramdown.xibuild | |
parent | 05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff) |
Work
Diffstat (limited to 'repo/ruby-kramdown/ruby-kramdown.xibuild')
-rw-r--r-- | repo/ruby-kramdown/ruby-kramdown.xibuild | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/repo/ruby-kramdown/ruby-kramdown.xibuild b/repo/ruby-kramdown/ruby-kramdown.xibuild deleted file mode 100644 index b1d216b..0000000 --- a/repo/ruby-kramdown/ruby-kramdown.xibuild +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -NAME="ruby-kramdown" -_gemname=kramdown -DESC="A fast, pure Ruby Markdown superset converter" - -MAKEDEPS=" ruby-rake" - -PKG_VER=2.3.634 -SOURCE="https://github.com/gettalong/kramdown" - -ADDITIONAL=" -gemspec.patch -" - -prepare() { - apply_patches - - # Remove tests that require gem "stringex" (we don't have it in aports yet). - rm test/testcases/block/04_header/with_auto_ids.* -} - -build() { - rake gemspec - gem build $_gemname.gemspec -} - -check() { - rake test -} - -package() { - local gemdir="$PKG_DEST/$(ruby -e 'puts Gem.default_dir')" - - gem install \ - --local \ - --install-dir "$gemdir" \ - --bindir "$PKG_DEST/usr/bin" \ - --ignore-dependencies \ - --no-document \ - --verbose \ - $_gemname - - # Remove unnecessary files and rubbish... - cd "$gemdir" - rm -r cache build_info doc extensions -} - |