mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 01:23:51 +02:00
30 lines
988 B
Bash
30 lines
988 B
Bash
# Template file for 'openbazaar'
|
|
pkgname=openbazaar
|
|
version=1.1.9
|
|
revision=1
|
|
build_style=fetch
|
|
short_desc="P2P Distributed marketplace"
|
|
maintainer="ananteris <ananteris@protonmail.ch>"
|
|
only_for_archs="i686 x86_64"
|
|
depends="nodejs"
|
|
license="MIT"
|
|
nostrip=yes
|
|
homepage="http://openbazaar.org"
|
|
repository="nonfree"
|
|
|
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
|
|
_debarch=amd64
|
|
checksum="448aac63b01bd24f366c92e7aa17cefefa4e89e224914f5fddb81a7f2ae34568"
|
|
else
|
|
_debarch=i386
|
|
checksum="1007cad53157f41c92dae9d704608ecb07f178d80e140b5dbccb81ab099f9f46"
|
|
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}
|
|
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
|
|
}
|