summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLW-archlinux2015-06-24 20:15:38 +0200
committerLW-archlinux2015-06-24 20:15:38 +0200
commit7ba41f372b5640b36aa95b6220015c17425e1be9 (patch)
tree0e9c86d8bb6f600e87b9d0b6eb2759c957440051
parentb03f34fb69f40d6676cff19c167e9e89cc6dc710 (diff)
downloadaur-7ba41f372b5640b36aa95b6220015c17425e1be9.tar.gz
update to 3.00-1
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD62
2 files changed, 38 insertions, 40 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 837946c0fa3..fdb69b68c70 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cndrvcups-lb
pkgdesc = Canon UFR II /LIPSLX Printer Driver build from source for LBP, iR & MF printers
- pkgver = 2.90
- pkgrel = 3
+ pkgver = 3.00
+ pkgrel = 1
url = http://support-au.canon.com.au/contents/AU/EN/0100270808.html
install = cndrvcups-lb.install
arch = i686
@@ -9,17 +9,19 @@ pkgbase = cndrvcups-lb
license = custom
makedepends = autoconf
makedepends = automake
- depends = cndrvcups-lb-cpca=2.90-3
- depends = cndrvcups-common-lb
- depends = lib32-libxml2
conflicts = cndrvcups-lb-bin
+ conflicts = cndrvcups-lb-cpca
options = !emptydirs
options = !strip
options = !libtool
- source = Linux_UFRII_PrinterDriver_V290_uk_EN.tar.gz::http://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwMjcwODEx&cmp=ABS&lang=EN
+ source = Linux_UFRII_PrinterDriver_V300_uk_EN.tar.gz::http://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwMjcwODEy&cmp=ABS&lang=EN
source = how-to.txt
- sha512sums = 23181155f5719fa0a9c216c058be749b5faaa8ee745d260eba2e5e284ef4ff161e344289a7c301a2d74cc919c5031763b0daf41cd07686cfdce188492a9b34b2
+ sha512sums = 08139f53b841a1b1bc32b15c6699cea21484c3d8a92a12e196446570ebd1a6f8e2a8ae6984bd3841055edd66399960c438f61c36159f423a8e5510ed3c2d046f
sha512sums = 736e1785c443c4d129c8801a127410012889f46691259e8a7f6a54106a0647beb5b6267aabb78b3ed0a1c7a9d8ce216e159515d3aad425812e5be52c8b58e4ee
+ depends_i686 = cndrvcups-common-lb=3.10
+ depends_i686 = libxml2
+ depends_x86_64 = cndrvcups-common-lb=3.10
+ depends_x86_64 = lib32-libxml2
pkgname = cndrvcups-lb
diff --git a/PKGBUILD b/PKGBUILD
index 8f6395127bb..2c6a51427ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,32 +3,26 @@
# Contributor: vbPadre <vbPadre@gmail.com>
pkgbase=cndrvcups-lb
pkgname=cndrvcups-lb
-pkgver=2.90
-pkgrel=3
+pkgver=3.00
+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=('cndrvcups-lb-cpca=2.90-3' 'cndrvcups-common-lb')
-if [[ $CARCH == "i686" ]]; then
- depends+=('libxml2')
- _lib32dir="lib"
-else
- depends+=('lib32-libxml2')
- _lib32dir="lib32"
-fi
+depends_i686=('cndrvcups-common-lb=3.10' 'libxml2')
+depends_x86_64=('cndrvcups-common-lb=3.10' 'lib32-libxml2')
makedepends=('autoconf' 'automake')
-conflicts=('cndrvcups-lb-bin')
-source=(Linux_UFRII_PrinterDriver_V290_uk_EN.tar.gz::'http://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwMjcwODEx&cmp=ABS&lang=EN'
+conflicts=('cndrvcups-lb-bin' 'cndrvcups-lb-cpca')
+source=(Linux_UFRII_PrinterDriver_V300_uk_EN.tar.gz::'http://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwMjcwODEy&cmp=ABS&lang=EN'
'how-to.txt')
options=('!emptydirs' '!strip' '!libtool')
-sha512sums=('23181155f5719fa0a9c216c058be749b5faaa8ee745d260eba2e5e284ef4ff161e344289a7c301a2d74cc919c5031763b0daf41cd07686cfdce188492a9b34b2'
+sha512sums=('08139f53b841a1b1bc32b15c6699cea21484c3d8a92a12e196446570ebd1a6f8e2a8ae6984bd3841055edd66399960c438f61c36159f423a8e5510ed3c2d046f'
'736e1785c443c4d129c8801a127410012889f46691259e8a7f6a54106a0647beb5b6267aabb78b3ed0a1c7a9d8ce216e159515d3aad425812e5be52c8b58e4ee')
# build instructions are adapted from upstream cndrvcups-lb.spec file
prepare() {
- cd "${srcdir}"/Linux_UFRII_PrinterDriver_V290_uk_EN/Sources
+ cd "${srcdir}"/Linux_UFRII_PrinterDriver_V300_uk_EN/Sources
tar xf "${pkgbase}"-"${pkgver}"-1.tar.gz -C "${srcdir}"
}
@@ -41,7 +35,10 @@ build() {
cd "${srcdir}"/"${pkgbase}"-"${pkgver}"/pstoufr2cpca
autoreconf -fi
./autogen.sh --prefix=/usr --libdir=/usr/lib
- cd ..
+
+ cd "${srcdir}"/"${pkgbase}"-"${pkgver}"/cpca
+ autoreconf -fi
+ ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --libdir=/usr/lib
cd "${srcdir}"/"${pkgbase}"-"${pkgver}"/cngplp
aclocal
@@ -53,29 +50,24 @@ build() {
./autogen.sh --prefix=/usr
cd "${srcdir}"/"${pkgbase}"-"${pkgver}"
- for _dir in pstoufr2cpca ppd cngplp
- do
- echo "compiling modules ${_dir} ..."
- cd "${srcdir}"/"${pkgbase}"-"${pkgver}"/"${_dir}"
- make
- done
+ make
+
}
package() {
cd "${srcdir}"/"${pkgbase}"-"${pkgver}"
- if [[ $CARCH=="x86_64" ]]; then
+ if [[ $CARCH == "i686" ]]; then
+ _lib32dir="lib"
+ else
+ _lib32dir="lib32"
mkdir -p "${pkgdir}"/usr/"${_lib32dir}"
fi
- mkdir -p "${pkgdir}"/usr/{bin,share/{caepcm,cnpkbidi,ufr2filter}}
- for _dir in pstoufr2cpca ppd cngplp
- do
- echo "Installing modules ${_dir} ..."
- cd "${srcdir}"/"${pkgbase}"-"${pkgver}"/"${_dir}"
- make install DESTDIR="${pkgdir}"
- done
+ mkdir -p "${pkgdir}"/usr/{bin,share/{caepcm,cnpkbidi,ufr2filter}}
+ make install DESTDIR="${pkgdir}"
+
cd "${srcdir}"/"${pkgbase}"-"${pkgver}"
install -m 4755 libs/cnpkmoduleufr2 "${pkgdir}"/usr/bin
@@ -106,12 +98,16 @@ package() {
ln -sf libcaiocnpkbidi.so.1.0.0 libcaiocnpkbidi.so.1
ln -sf libcnlbcm.so.1.0 libcnlbcm.so.1
ln -sf libcnlbcm.so.1.0 libcnlbcm.so
+
+ # according to Gentoo ebuiuld v2.90 c3pldrv dlopens the absolute path /usr/lib/libcnlbcm.so
+ cd "${pkgdir}"/usr/lib
+ ln -s /usr/lib32/libcnlbcm.so libcnlbcm.so
cd "${srcdir}"/"${pkgbase}"-"${pkgver}"
install -m755 -d "${pkgdir}"/usr/share/licenses/"${pkgname}"
- install -m644 L*-ufr2-"${pkgver}"* "${pkgdir}"/usr/share/licenses/"${pkgname}/"
- install -m644 LICENSE-lipslx-"${pkgver}".txt "${pkgdir}"/usr/share/licenses/"${pkgname}/"
+ install -m644 L*-ufr2-* "${pkgdir}"/usr/share/licenses/"${pkgname}/"
+ install -m644 LICENSE-*.txt "${pkgdir}"/usr/share/licenses/"${pkgname}/"
install -m755 -d "${pkgdir}"/usr/share/doc/"${pkgname}"
- install -m644 READ* "${pkgdir}"/usr/share/doc/"${pkgname}"
- install -m644 "${srcdir}"/Linux_UFRII_PrinterDriver_V290_uk_EN/Documents/guide-ufr2-2.9xUK.tar.gz "${pkgdir}"/usr/share/doc/"${pkgname}"/guide-ufr2-2.9xUK.tar.gz
+ install -m644 README* "${pkgdir}"/usr/share/doc/"${pkgname}"
+ install -m644 "${srcdir}"/Linux_UFRII_PrinterDriver_V300_uk_EN/Documents/guide-ufr2-3.0xUK.tar.gz "${pkgdir}"/usr/share/doc/"${pkgname}"/guide-ufr2-3.0xUK.tar.gz
}