openbazaar: update to 1.1.9

This commit is contained in:
ananteris 2016-12-15 19:03:25 -05:00
parent b02965fcac
commit f76b64aa37

View file

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