From 933e668e077a70b9f10273c24015e0220b464156 Mon Sep 17 00:00:00 2001 From: ananteris Date: Mon, 7 Mar 2016 15:42:46 -0500 Subject: [PATCH] New package: openbazaar-1.0.6 --- srcpkgs/openbazaar/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/openbazaar/template diff --git a/srcpkgs/openbazaar/template b/srcpkgs/openbazaar/template new file mode 100644 index 0000000000..82171cf3e4 --- /dev/null +++ b/srcpkgs/openbazaar/template @@ -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 " +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 +}