diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-08 05:25:29 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-08 05:25:29 +0000 |
commit | 789fd64f30f0463f4c7c7ab3d05f279ed0ba76b5 (patch) | |
tree | 084b0c8394e6a8d5c92225f3228e348d2b6b69fe /main/ruby | |
parent | f25ef14ab097e7dbffe5eaa6cef38c2f8dc0374a (diff) | |
download | aports-789fd64f30f0463f4c7c7ab3d05f279ed0ba76b5.tar.bz2 aports-789fd64f30f0463f4c7c7ab3d05f279ed0ba76b5.tar.xz |
main/ruby: fix packaging on arm
The directory is the host triplet without the vendor part. This
assumes the vendor part is always 'alpine'.
Diffstat (limited to 'main/ruby')
-rw-r--r-- | main/ruby/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD index 519146d10a..55fae4fa24 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() { |