brother-brscan4: update to 0.4.5. (#602)

This commit is contained in:
cr6git 2018-07-03 22:31:51 +02:00 committed by GitHub
parent e93d394c9b
commit 8856d3a8db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'brother-brscan4'
pkgname=brother-brscan4
version=0.4.4
version=0.4.5
revision=1
only_for_archs="i686 x86_64"
depends="sane"
@ -13,22 +13,22 @@ nopie=yes
_mylibrary="libsane-brother4.so.1.0.7"
conf_files="/etc/opt/brother/scanner/brscan4/Brsane4.ini /etc/opt/brother/scanner/brscan4/brsanenetdevice4.cfg /etc/opt/brother/scanner/brscan4/models4/*.ini"
# license
distfiles="http://www.brother.com/agreement/English_sane/agree.html>LICENSE.html"
checksum="3434bca1936d6a5fd6afd810cde7e1876dd4d1496722b09af180278480f464f2"
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_debpkgid="4.amd64"
distfiles="http://download.brother.com/welcome/dlf006645/brscan4-${version}-${_debpkgid}.deb"
checksum=cd255c56e4b10125223315b64eb1205864ab8c759b6f8068c24a076f52bfc577
_debpkgid="1.amd64"
distfiles+=" http://download.brother.com/welcome/dlf006645/brscan4-${version}-${_debpkgid}.deb"
checksum+=" 9ad23cb4a9e82ef8ea19fbadf40058232aada3150f816ddda61048d650d1eee7"
_deblibdir="usr/lib64"
else
_debpkgid="4.i386"
distfiles="http://download.brother.com/welcome/dlf006646/brscan4-${version}-${_debpkgid}.deb"
checksum=6292feb076a97004c5a73ce8fecd7933d29309322869c1f26f77dbe4fe92b08e
_debpkgid="1.i386"
distfiles+=" http://download.brother.com/welcome/dlf006646/brscan4-${version}-${_debpkgid}.deb"
checksum+=" 44f9b2e8068b4b8817e62c00a1c62e710e9c0931984a18c28799e3ec1eaff32d"
_deblibdir="usr/lib"
fi
# append shrinkwrap license
distfiles+=" http://www.brother.com/agreement/English_sane/agree.html>LICENSE.html"
checksum+=" 3434bca1936d6a5fd6afd810cde7e1876dd4d1496722b09af180278480f464f2"
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/brscan4-${version}-${_debpkgid}.deb
tar xzpf data.tar.gz