Search Criteria
Package Details: cnijfilter2-mg7500 5.00-1
Git Clone URL: | https://aur.archlinux.org/cnijfilter2-mg7500.git (read-only, click to copy) |
---|---|
Package Base: | cnijfilter2-mg7500 |
Description: | Canon InkJet Printer Driver (MG7500, MG6600, MG5600, MG2900, MB5300, MB5000, MB2300, MB2000, IP110, IB4000, E460 Series) |
Upstream URL: | http://cweb.canon.jp/drv-upd/ij-mfp/linux-pd-20142h-500.html |
Licenses: | |
Provides: | |
Submitter: | yuntan_t |
Maintainer: | yuntan_t |
Last Packager: | yuntan_t |
Votes: | 10 |
Popularity: | 0.000018 |
First Submitted: | 2015-08-22 17:12 |
Last Updated: | 2015-08-22 17:17 |
Latest Comments
xduugu commented on 2017-09-20 20:53
I've added two missing library symlinks to the package, which are otherwise created by ldconfig. If the symlinks are created by ldconfig, they are not owned by any package.
# Maintainer: Yuto Tokunaga <toku DOT yuuto AT gmail DOT com>
# Based on the PKGBUILD for mg6400 series by Vincenzo Mantova (xworld21)
pkgname=cnijfilter2-mg7500
pkgver=5.00
pkgrel=1
_pkgver=5.00-1
pkgdesc="Canon InkJet Printer Driver (MG7500, MG6600, MG5600, MG2900, MB5300, MB5000, MB2300, MB2000, IP110, IB4000, E460 Series)"
arch=('i686' 'x86_64')
url="http://cweb.canon.jp/drv-upd/ij-mfp/linux-pd-20142h-500.html"
license=('custom')
depends=('libcups' 'libxml2')
provides=("cnijfilter2=$pkgver")
source=(http://gdlp01.c-wss.com/gds/5/0100006265/01/cnijfilter2-${_pkgver}-deb.tar.gz)
md5sums=('433e5d53041067deb90584397daec07d')
package() {
local _pkgarch=$(echo -n "${CARCH}" | sed 's/x86_/amd/' | sed 's/i6/i3/')
local _debdir="${srcdir}/cnijfilter2-${_pkgver}-deb/packages"
cd $pkgdir
ar -x "${_debdir}/cnijfilter2_${_pkgver}_${_pkgarch}.deb" "data.tar.gz"
tar -xzf data.tar.gz && rm -f data.tar.gz
# add additional library symlinks
for _lib in usr/lib/libcn*.so.*; do
[[ ! -e ${_lib%%.*}.so ]] && ln -s "${_lib##*/}" "${_lib%%.*}.so"
done
mkdir -p usr/share/licenses/${pkgname}
mv usr/share/doc/cnijfilter2/LICENSE* usr/share/licenses/${pkgname}
# Weird permissions error from namcap
chown root:root usr/lib/bjlib2/cnnet.ini
find usr/bin usr/lib -type f -exec chmod 0755 "{}" +
find usr/share -type f -exec chmod 0644 {} +
}