blob: 803e71b891f0294ed1517ced55f06e8b9ba17d5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Bernhard Landauer <oberon@manjaro.ord>
# Maintainer: Ripper93 <ripper93@cock.li>
pkgname=cnijfilter-common-mg2400
pkgver=4.00
pkgrel=2
_pkgrel=1
pkgdesc="Canon IJ Printer Driver For MG-2400"
arch=('i686' 'x86_64')
url="http://support-ph.canon-asia.com/contents/PH/EN/0100466201.html"
license=('unknown')
depends=('cups' 'popt' 'libxml2' 'gtk2' 'libtiff' 'libpng')
source=("http://gdlp01.c-wss.com/gds/9/0100005499/01/cnijfilter-mg2400series-$pkgver-$_pkgrel-rpm.tar.gz")
md5sums=('73b00b2ca8d327ce9b427b5438d34d1c')
package() {
if [ "${CARCH}" = 'x86_64' ]; then
rpmfile=$(find "$srcdir" -name cnijfilter-common-$pkgver*${CARCH}*.rpm)
elif [ "${CARCH}" = 'i686' ]; then
rpmfile=$(find "$srcdir" -name cnijfilter-common-$pkgver*i386*.rpm)
fi
cd $pkgdir
bsdtar -xf $rpmfile
rm -r $pkgdir/usr/lib
mv $pkgdir/usr/lib64 $pkgdir/usr/lib
cp -r $pkgdir/usr/local/* $pkgdir/usr/
rm -r $pkgdir/usr/local
}
|