Merge pull request #5366 from ananteris/openbazaar

openbazaar: update to 1.1.9
This commit is contained in:
Michael Gehring 2016-12-20 12:13:39 +01:00 committed by GitHub
commit acf2a1e2eb

View file

@ -1,11 +1,12 @@
# Template file for 'openbazaar'
pkgname=openbazaar
version=1.0.6
version=1.1.9
revision=1
build_style=fetch
short_desc="P2P Distributed marketplace"
maintainer="Ananteris <ananteris.disp@gmail.com>"
maintainer="ananteris <ananteris@protonmail.ch>"
only_for_archs="i686 x86_64"
depends="nodejs"
license="MIT"
nostrip=yes
homepage="http://openbazaar.org"
@ -13,10 +14,10 @@ repository="nonfree"
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
_debarch=amd64
checksum="92051986a773af50e0c96c4b3d2475a4420a6a661667b643f24cb6d9ddf69c20"
checksum="448aac63b01bd24f366c92e7aa17cefefa4e89e224914f5fddb81a7f2ae34568"
else
_debarch=i386
checksum="b7901d1291f7be0e25b3c550ac67edd6404afe6b8543671979febd10171f3839"
checksum="1007cad53157f41c92dae9d704608ecb07f178d80e140b5dbccb81ab099f9f46"
fi
distfiles="https://github.com/OpenBazaar/OpenBazaar-Installer/releases/download/v${version}/${pkgname}_${version}_${_debarch}.deb"
@ -24,4 +25,6 @@ distfiles="https://github.com/OpenBazaar/OpenBazaar-Installer/releases/download/
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
}