yandex-disk: update to 0.1.5.978 (#553)

This commit is contained in:
dut 2018-07-05 00:01:46 +04:00 committed by cr6git
parent 49e6c14724
commit 52b8c97106
1 changed files with 5 additions and 6 deletions

View File

@ -1,28 +1,28 @@
# Template file for 'yandex-disk'
pkgname=yandex-disk
version=0.1.5.940
version=0.1.5.978
revision=1
only_for_archs="i686 x86_64"
short_desc="Console client for Yandex.Disk"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="Propietary"
license="Proprietary"
homepage="https://disk.yandex.com/"
repository="nonfree"
restricted=yes
nostrip_files=yandex-disk
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
debpkgid="${pkgname}_${version}_amd64.deb"
distfiles="http://repo.yandex.ru/yandex-disk/deb/pool/main/y/${pkgname}/${debpkgid}"
checksum="5cafdaef3186815960be68dc93d7635e2461efe39e903bd9d074627d7605fd46"
checksum=163b977068018d2fe824ddec85e6e198af56c35a3dc64ccc2ee83e771f1ce73e
else
debpkgid="${pkgname}_${version}_i386.deb"
distfiles="http://repo.yandex.ru/yandex-disk/deb/pool/main/y/${pkgname}/${debpkgid}"
checksum="6eeb6330fe230da92f6e4591635e7990815400d9e0bd51188de5eeacb5217e08"
checksum=11f865c2e347639cf679ab32f906f033947e4e164680a9e974a1255961dee0ed
fi
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${debpkgid}
cd ${wrksrc}
tar xzpvf data.tar.gz
gunzip usr/share/man/man1/yandex-disk.1.gz
}
@ -31,7 +31,6 @@ do_install() {
vbin usr/bin/yandex-disk
vlicense usr/share/doc/yandex-disk/copyright
vman usr/share/man/man1/yandex-disk.1
vmkdir usr/share/locale
vcopy usr/share/locale usr/share
install -m644 -D etc/bash_completion.d/yandex-disk-completion.bash \
${DESTDIR}/usr/share/bash-completion/completions/yandex-disk