mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
openbazaar: don't manually extract deb
This commit is contained in:
parent
7d6f6bbfed
commit
36d4af6d68
1 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ pkgname=openbazaar
|
||||||
version=1.1.13
|
version=1.1.13
|
||||||
revision=2
|
revision=2
|
||||||
archs="i686 x86_64"
|
archs="i686 x86_64"
|
||||||
build_style=fetch
|
create_wrksrc=yes
|
||||||
depends="nodejs"
|
depends="nodejs"
|
||||||
short_desc="P2P Distributed marketplace"
|
short_desc="P2P Distributed marketplace"
|
||||||
maintainer="ananteris <ananteris@protonmail.ch>"
|
maintainer="ananteris <ananteris@protonmail.ch>"
|
||||||
|
@ -22,11 +22,11 @@ case "${XBPS_TARGET_MACHINE}" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
distfiles="https://github.com/OpenBazaar/OpenBazaar-Installer/releases/download/v${version}/${pkgname}_${version}_${_debarch}.deb"
|
distfiles="https://github.com/OpenBazaar/OpenBazaar-Installer/releases/download/v${version}/openbazaar_${version}_${_debarch}.deb"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
ar p ${pkgname}_${version}_${_debarch}.deb data.tar.xz | bsdtar xvf - -C ${DESTDIR}
|
vcopy usr /
|
||||||
vlicense ${DESTDIR}/usr/share/openbazaar/LICENSE
|
vlicense usr/share/openbazaar/LICENSE
|
||||||
vmkdir usr/lib/openbazaar/resources
|
vmkdir usr/lib/openbazaar/resources
|
||||||
mv -v ${DESTDIR}/usr/share/openbazaar/resources/OpenBazaar-Server \
|
mv -v ${DESTDIR}/usr/share/openbazaar/resources/OpenBazaar-Server \
|
||||||
${DESTDIR}/usr/lib/openbazaar/resources
|
${DESTDIR}/usr/lib/openbazaar/resources
|
||||||
|
|
Loading…
Add table
Reference in a new issue