From 789fd64f30f0463f4c7c7ab3d05f279ed0ba76b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 8 Oct 2013 05:25:29 +0000 Subject: main/ruby: fix packaging on arm The directory is the host triplet without the vendor part. This assumes the vendor part is always 'alpine'. --- main/ruby/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD index 519146d10..55fae4fa2 100644 --- a/main/ruby/APKBUILD +++ b/main/ruby/APKBUILD @@ -120,7 +120,7 @@ _mvgem() { cd "$pkgdir" for i in ./$_rubydir/${1}.rb \ ./$_rubydir/${1} \ - ./$_rubydir/$_arch-linux-${CLIBC}/${1} \ + ./$_rubydir/${CHOST/-alpine-/-}/${1} \ ./$_gemdir/gems/${1}-* \ ./$_gemdir/specifications/default/${1}-* ; do [ -e "$pkgdir"/$i ] || continue @@ -132,7 +132,7 @@ _rmgem() { cd "$pkgdir" for i in ./$_rubydir/${1}.rb \ ./$_rubydir/${1} \ - ./$_rubydir/$_arch-linux-${CLIBC}/${1} \ + ./$_rubydir/${CHOST/-alpine-/-}/${1} \ ./$_gemdir/gems/${1}-* \ ./$_gemdir/specifications/default/${1}-* ; do [ -e "$pkgdir"/$i ] && rm -r "$pkgdir/$i" @@ -179,7 +179,7 @@ io_console() { depends="ruby" _mvgem io-console _mv $_rubydir/io \ - $_rubydir/$_arch-linux-${CLIBC}/io/console.so + $_rubydir/${CHOST/-alpine-/-}/io/console.so } minitest() { -- cgit v1.2.3