aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-rbpdf-font/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ruby-rbpdf-font/APKBUILD')
-rw-r--r--unmaintained/ruby-rbpdf-font/APKBUILD49
1 files changed, 0 insertions, 49 deletions
diff --git a/unmaintained/ruby-rbpdf-font/APKBUILD b/unmaintained/ruby-rbpdf-font/APKBUILD
deleted file mode 100644
index 0699a07b1e..0000000000
--- a/unmaintained/ruby-rbpdf-font/APKBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
-pkgname=ruby-rbpdf-font
-_gemname=rbpdf-font
-pkgver=1.19.0
-pkgrel=0
-pkgdesc="RBPDF font files"
-url="https://github.com/naitoh/rbpdf"
-arch="noarch"
-license="GPL"
-depends="ruby ttf2ufm"
-depends_dev=""
-makedepends="$depends_dev ruby-dev"
-install=""
-subpackages=""
-source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-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
- # do not use the included ttf2ufm but use system one.
- ln -sf /usr/bin/ttf2ufm \
- $pkgdir/$_geminstdir/lib/fonts/ttf2ufm/ttf2ufm || return 1
-}
-md5sums="547e75d0a21e02e68c85484456086743 rbpdf-font-1.19.0.gem"
-sha256sums="2304ff2605dd7bce2334aacee8526a9c865bb4c28e9ec8338a60f5d62017e89b rbpdf-font-1.19.0.gem"
-sha512sums="215a2c99f90ba76a4b1da93a59787557bd326fe8a3e41bfe31bd8c9d7e9b763667f70e781b3bc47b2ae2c2d463836d034315bf2583cc8a6da48cbcde461322ec rbpdf-font-1.19.0.gem"