openbazaar: use bsdtar; move *.so to usr/lib/openbazaar
This commit is contained in:
parent
0c6ef02cbe
commit
74125d9487
1 changed files with 8 additions and 1 deletions
|
@ -23,9 +23,16 @@ fi
|
|||
distfiles="https://github.com/OpenBazaar/OpenBazaar-Installer/releases/download/v${version}/${pkgname}_${version}_${_debarch}.deb"
|
||||
|
||||
do_install() {
|
||||
ar p ${pkgname}_${version}_${_debarch}.deb data.tar.xz | tar xvJf - -C ${DESTDIR}
|
||||
ar p ${pkgname}_${version}_${_debarch}.deb data.tar.xz | bsdtar xvf - -C ${DESTDIR}
|
||||
vlicense ${DESTDIR}/usr/share/openbazaar/LICENSE
|
||||
vbin ${DESTDIR}/usr/share/openbazaar/resources/OpenBazaar-Server/openbazaard
|
||||
vconf ${DESTDIR}/usr/share/openbazaar/resources/OpenBazaar-Server/ob.cfg
|
||||
vdoc ${FILESDIR}/void_service.EXAMPLE
|
||||
|
||||
find ${DESTDIR}/usr/share/openbazaar -iname "*.so" -print0 | while read -d "" lib; do
|
||||
dir="${lib%/*}"
|
||||
dir="${dir/\/share\//\/lib\/}"
|
||||
mkdir -p "${dir}"
|
||||
mv -v "${lib}" "${dir}"
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue