summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLW-archlinux2017-07-30 20:46:30 +0200
committerLW-archlinux2017-07-30 20:46:30 +0200
commitc0b8ec6d7d788a438b4ec13439698604cbd6c1f3 (patch)
treeadd8630ab9e71f93df067429c3bea82e1fa3e1d6
parent907087402f416ff19fe357c8293364acc5674a00 (diff)
downloadaur-c0b8ec6d7d788a438b4ec13439698604cbd6c1f3.tar.gz
update to latest version, also added new opt depend jpeg6-turbo
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD61
2 files changed, 40 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fff64421eb8..db708e6d6df 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cndrvcups-lb
pkgdesc = Canon UFR II /LIPSLX Printer Driver build from source for LBP, iR & MF printers
- pkgver = 3.31
+ pkgver = 3.40
pkgrel = 1
url = http://support-au.canon.com.au/contents/AU/EN/0100270808.html
install = cndrvcups-lb.install
@@ -9,19 +9,21 @@ pkgbase = cndrvcups-lb
license = custom
makedepends = autoconf
makedepends = automake
- depends = cndrvcups-common-lb=3.71
- depends = lib32-libxml2
conflicts = cndrvcups-lb-bin
conflicts = cndrvcups-lb-cpca
options = !emptydirs
options = !strip
options = !libtool
- source = http://gdlp01.c-wss.com/gds/8/0100007658/03/linux-UFRII-drv-v331-uken.tar.gz
+ source = http://gdlp01.c-wss.com/gds/8/0100002708/17/linux-UFRII-drv-v340-uken.tar.gz
source = how-to.txt
- sha512sums = db110d29011b356ab0df1534b0cab6be6dd224a076aef87bfb2f4add4d580c11e2a7aac2b622638b0e70abd0f36a7bf9f0832cf6c4fdacdeba3de99a375bb103
+ sha512sums = 05f12d2cac5ae9987fe389be1a15b11d280734f6d47b86f04fa2fcb61bf94175b7afdba4cc1cf5ecf2c1ef5a8e2c14eda5d72f7671618d7c94581c620fea4494
sha512sums = 736e1785c443c4d129c8801a127410012889f46691259e8a7f6a54106a0647beb5b6267aabb78b3ed0a1c7a9d8ce216e159515d3aad425812e5be52c8b58e4ee
- depends_i686 = cndrvcups-common-lb=3.71
+ depends_i686 = cndrvcups-common-lb=3.80
depends_i686 = libxml2
+ optdepends_i686 = libjpeg6-turbo: improves printing results for color imageRUNNER/i-SENSYS LBP devices
+ depends_x86_64 = cndrvcups-common-lb=3.80
+ depends_x86_64 = lib32-libxml2
+ optdepends_x86_64 = lib32-libjpeg6-turbo: improves printing results for color imageRUNNER/i-SENSYS LBP devices
pkgname = cndrvcups-lb
diff --git a/PKGBUILD b/PKGBUILD
index 321cfb53245..1f18e121249 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,44 +3,47 @@
# Contributor: vbPadre <vbPadre@gmail.com>
pkgbase=cndrvcups-lb
pkgname=cndrvcups-lb
-pkgver=3.31
+pkgver=3.40
pkgrel=1
pkgdesc="Canon UFR II /LIPSLX Printer Driver build from source for LBP, iR & MF printers"
arch=('i686' 'x86_64')
url="http://support-au.canon.com.au/contents/AU/EN/0100270808.html"
license=('custom')
install=${pkgname}.install
-depends_i686=('cndrvcups-common-lb=3.71' 'libxml2')
-depends_x86_64=('cndrvcups-common-lb=3.71' 'lib32-libxml2')
+depends_i686=('cndrvcups-common-lb=3.80' 'libxml2')
+depends_x86_64=('cndrvcups-common-lb=3.80' 'lib32-libxml2')
makedepends=('autoconf' 'automake')
+optdepends_i686=('libjpeg6-turbo: improves printing results for color imageRUNNER/i-SENSYS LBP devices')
+optdepends_x86_64=('lib32-libjpeg6-turbo: improves printing results for color imageRUNNER/i-SENSYS LBP devices')
conflicts=('cndrvcups-lb-bin' 'cndrvcups-lb-cpca')
-source=(http://gdlp01.c-wss.com/gds/8/0100007658/03/linux-UFRII-drv-v331-uken.tar.gz
+source=('http://gdlp01.c-wss.com/gds/8/0100002708/17/linux-UFRII-drv-v340-uken.tar.gz'
'how-to.txt')
+# http://gdlp01.c-wss.com/gds/8/0100002708/17/linux-UFRII-drv-v340-uken.tar.gz
options=('!emptydirs' '!strip' '!libtool')
-sha512sums=('db110d29011b356ab0df1534b0cab6be6dd224a076aef87bfb2f4add4d580c11e2a7aac2b622638b0e70abd0f36a7bf9f0832cf6c4fdacdeba3de99a375bb103'
+sha512sums=('05f12d2cac5ae9987fe389be1a15b11d280734f6d47b86f04fa2fcb61bf94175b7afdba4cc1cf5ecf2c1ef5a8e2c14eda5d72f7671618d7c94581c620fea4494'
'736e1785c443c4d129c8801a127410012889f46691259e8a7f6a54106a0647beb5b6267aabb78b3ed0a1c7a9d8ce216e159515d3aad425812e5be52c8b58e4ee')
# build instructions are adapted from upstream cndrvcups-lb.spec file
prepare() {
- cd "${srcdir}"/linux-UFRII-drv-v331-uken/Sources
- bsdtar xf "${pkgbase}"-"${pkgver}"-1.tar.gz -C "${srcdir}"
+ cd "${srcdir}"/linux-UFRII-drv-v340-uken/Sources
+ bsdtar xf ${pkgbase}-${pkgver}-1.tar.gz -C "${srcdir}"
}
build() {
- cd "${srcdir}"/"${pkgbase}"-"${pkgver}"/ppd
+ cd "${srcdir}"/${pkgbase}-${pkgver}/ppd
autoreconf -fi
./autogen.sh --prefix=/usr
- cd "${srcdir}"/"${pkgbase}"-"${pkgver}"/pstoufr2cpca
+ cd "${srcdir}"/${pkgbase}-${pkgver}/pstoufr2cpca
autoreconf -fi
./autogen.sh --prefix=/usr --libdir=/usr/lib
- cd "${srcdir}"/"${pkgbase}"-"${pkgver}"/cpca
+ cd "${srcdir}"/${pkgbase}-${pkgver}/cpca
autoreconf -fi
./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --libdir=/usr/lib
- cd "${srcdir}"/"${pkgbase}"-"${pkgver}"/cngplp
+ cd "${srcdir}"/${pkgbase}-${pkgver}/cngplp
aclocal
autoreconf -fi
./autogen.sh --prefix=/usr --libdir=/usr/lib
@@ -49,43 +52,43 @@ build() {
autoreconf -fi
./autogen.sh --prefix=/usr
- cd "${srcdir}"/"${pkgbase}"-"${pkgver}"
+ cd "${srcdir}"/${pkgbase}-${pkgver}
make
}
package() {
- cd "${srcdir}"/"${pkgbase}"-"${pkgver}"
+ cd "${srcdir}"/${pkgbase}-${pkgver}
if [[ $CARCH == "i686" ]]; then
_lib32dir="lib"
else
_lib32dir="lib32"
- mkdir -p "${pkgdir}"/usr/"${_lib32dir}"
+ mkdir -p "${pkgdir}"/usr/${_lib32dir}
fi
mkdir -p "${pkgdir}"/usr/{bin,share/{caepcm,cnpkbidi,ufr2filter}}
make install DESTDIR="${pkgdir}"
- cd "${srcdir}"/"${pkgbase}"-"${pkgver}"
+ cd "${srcdir}"/${pkgbase}-${pkgver}
install -m 4755 libs/cnpkmoduleufr2 "${pkgdir}"/usr/bin
- install -m 755 libs/libcanonufr2.la "${pkgdir}"/usr/"${_lib32dir}"
- install -s -m 755 libs/libcanonufr2.so.1.0.0 "${pkgdir}"/usr/"${_lib32dir}"
- install -s -m 755 libs/libufr2filter.so.1.0.0 "${pkgdir}"/usr/"${_lib32dir}"
- install -s -m 755 libs/libEnoJBIG.so.1.0.0 "${pkgdir}"/usr/"${_lib32dir}"
- install -s -m 755 libs/libEnoJPEG.so.1.0.0 "${pkgdir}"/usr/"${_lib32dir}"
+ install -m 755 libs/libcanonufr2.la "${pkgdir}"/usr/${_lib32dir}
+ install -s -m 755 libs/libcanonufr2.so.1.0.0 "${pkgdir}"/usr/${_lib32dir}
+ install -s -m 755 libs/libufr2filter.so.1.0.0 "${pkgdir}"/usr/${_lib32dir}
+ install -s -m 755 libs/libEnoJBIG.so.1.0.0 "${pkgdir}"/usr/${_lib32dir}
+ install -s -m 755 libs/libEnoJPEG.so.1.0.0 "${pkgdir}"/usr/${_lib32dir}
install -s -m 755 libs/cnpkbidi "${pkgdir}"/usr/bin
- install -s -m 755 libs/libcaiocnpkbidi.so.1.0.0 "${pkgdir}"/usr/"${_lib32dir}"
+ install -s -m 755 libs/libcaiocnpkbidi.so.1.0.0 "${pkgdir}"/usr/${_lib32dir}
install -m 644 data/CnLB* "${pkgdir}"/usr/share/caepcm
install -m 644 libs/cnpkbidi_info* "${pkgdir}"/usr/share/cnpkbidi
install -m 644 libs/ThLB* "${pkgdir}"/usr/share/ufr2filter
- install -m 755 libs/libcnlbcm.so.1.0 "${pkgdir}"/usr/"${_lib32dir}"
+ install -m 755 libs/libcnlbcm.so.1.0 "${pkgdir}"/usr/${_lib32dir}
- cd "${pkgdir}"/usr/"${_lib32dir}"
+ cd "${pkgdir}"/usr/${_lib32dir}
ln -sf libcanonufr2.so.1.0.0 libcanonufr2.so
ln -sf libcanonufr2.so.1.0.0 libcanonufr2.so.1
ln -sf libufr2filter.so.1.0.0 libufr2filter.so
@@ -105,10 +108,10 @@ package() {
ln -s /usr/lib32/libcnlbcm.so libcnlbcm.so
fi
- cd "${srcdir}"/"${pkgbase}"-"${pkgver}"
- install -m755 -d "${pkgdir}"/usr/share/licenses/"${pkgname}"
- install -m644 LICENSE-*.txt "${pkgdir}"/usr/share/licenses/"${pkgname}/"
- install -m755 -d "${pkgdir}"/usr/share/doc/"${pkgname}"
- install -m644 README* "${pkgdir}"/usr/share/doc/"${pkgname}"
- install -m644 "${srcdir}"/linux-UFRII-drv-v331-uken/Documents/guide-ufr2-3.3xUK.tar.gz "${pkgdir}"/usr/share/doc/"${pkgname}"
+ cd "${srcdir}"/${pkgbase}-${pkgver}
+ install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -m644 LICENSE-*.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+ install -m755 -d "${pkgdir}"/usr/share/doc/${pkgname}
+ install -m644 README* "${pkgdir}"/usr/share/doc/${pkgname}
+ install -m644 "${srcdir}"/linux-UFRII-drv-v340-uken/Documents/guide-ufr2-3.4xUK.tar.gz "${pkgdir}"/usr/share/doc/${pkgname}
}