New package: openbazaar-1.0.6

This commit is contained in:
ananteris 2016-03-07 15:42:46 -05:00 committed by Toyam Cox
parent d51ab5615e
commit 933e668e07

View file

@ -0,0 +1,27 @@
# Template file for 'openbazaar'
pkgname=openbazaar
version=1.0.6
revision=1
build_style=fetch
short_desc="P2P Distributed marketplace"
maintainer="Ananteris <ananteris.disp@gmail.com>"
only_for_archs="i686 x86_64"
license="MIT"
nostrip=yes
homepage="http://openbazaar.org"
repository="nonfree"
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
_debarch=amd64
checksum="92051986a773af50e0c96c4b3d2475a4420a6a661667b643f24cb6d9ddf69c20"
else
_debarch=i386
checksum="b7901d1291f7be0e25b3c550ac67edd6404afe6b8543671979febd10171f3839"
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
}