diff options
Diffstat (limited to 'unmaintained/ruby-coderay/APKBUILD')
-rw-r--r-- | unmaintained/ruby-coderay/APKBUILD | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/unmaintained/ruby-coderay/APKBUILD b/unmaintained/ruby-coderay/APKBUILD deleted file mode 100644 index a996f92604..0000000000 --- a/unmaintained/ruby-coderay/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -_gemname=coderay -pkgname=ruby-coderay -pkgver=1.1.1 -pkgrel=0 -pkgdesc="Fast and easy syntax highlighting" -url="http://coderay.rubychan.de" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -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="6f60cedad4f128b38bd8eaf40490f328 coderay-1.1.1.gem" -sha256sums="79a42eba4cbe2b056ba253eb02d1a7aec74ca951e54f33098830641e8748dff4 coderay-1.1.1.gem" -sha512sums="7b2bbf51e6625a252f7eb6de6d3a5b2d401a3bcbd5ed3074a8a34e468bcbd4400f54906dd9ce0c7afcd2dd56b0bb28a597d2e01c614d19388f1576385bf4e97f coderay-1.1.1.gem" |