openbazaar: update to 1.1.10
This commit is contained in:
parent
c0d8fe9f57
commit
766e0c5663
15
srcpkgs/openbazaar/files/void_service.EXAMPLE
Normal file
15
srcpkgs/openbazaar/files/void_service.EXAMPLE
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
exec 2>&1
|
||||
USER=user
|
||||
LOG=/var/log/openbazaar.log
|
||||
|
||||
if [ ! -d $LOG ];
|
||||
then
|
||||
touch $LOG
|
||||
chown $USER:$USER $LOG
|
||||
fi
|
||||
|
||||
#openbazaard looks for ob.cfg in PWD
|
||||
cd /etc
|
||||
exec > $LOG
|
||||
exec chpst -u$USER:$USER openbazaard start
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'openbazaar'
|
||||
pkgname=openbazaar
|
||||
version=1.1.9
|
||||
version=1.1.10
|
||||
revision=1
|
||||
build_style=fetch
|
||||
short_desc="P2P Distributed marketplace"
|
||||
@ -14,10 +14,10 @@ repository="nonfree"
|
||||
|
||||
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
|
||||
_debarch=amd64
|
||||
checksum="448aac63b01bd24f366c92e7aa17cefefa4e89e224914f5fddb81a7f2ae34568"
|
||||
checksum=0587b37baf4eebc447204883f021372bb6b1e1243f424d15aa13339d82428b47
|
||||
else
|
||||
_debarch=i386
|
||||
checksum="1007cad53157f41c92dae9d704608ecb07f178d80e140b5dbccb81ab099f9f46"
|
||||
checksum=813a35d6a9c1dd099f172812b6db124cd0ec38732f6dfce324f0f2895b03c53b
|
||||
fi
|
||||
|
||||
distfiles="https://github.com/OpenBazaar/OpenBazaar-Installer/releases/download/v${version}/${pkgname}_${version}_${_debarch}.deb"
|
||||
@ -27,4 +27,5 @@ do_install() {
|
||||
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
|
||||
vdoc ${FILESDIR}/void_service.EXAMPLE
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user