From 8d152e11e7d6dc7bcc58720f34374f20a4234a49 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sun, 18 Feb 2018 19:19:05 +0100 Subject: community/ruby-ox: fix install location of ox.so --- community/ruby-ox/APKBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'community') diff --git a/community/ruby-ox/APKBUILD b/community/ruby-ox/APKBUILD index c644c0c750..86d0f079db 100644 --- a/community/ruby-ox/APKBUILD +++ b/community/ruby-ox/APKBUILD @@ -3,7 +3,7 @@ pkgname=ruby-ox _gemname=${pkgname#ruby-} pkgver=2.8.2 -pkgrel=1 +pkgrel=2 pkgdesc="A fast XML parser and object serializer for Ruby" url="https://github.com/ohler55/ox" arch="all" @@ -26,8 +26,12 @@ build() { --verbose \ $_gemname + cd dist/extensions/*/*/$_gemname-*/ + + # ox expects ox.so to be in ox/ subdirectory, but does not install it here. + mkdir ox && mv *.so ox/ # Needed for tests. - cp -l dist/extensions/*/*/$_gemname-*/*.so ext/$_gemname/ + cp -l ox/*.so "$builddir"/ext/$_gemname/ } check() { -- cgit v1.2.3