summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD25
2 files changed, 22 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 987d36b50c0..95e8d3ee35e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Apr 8 09:47:13 UTC 2018
+# Fri May 11 00:55:29 UTC 2018
pkgbase = cnijfilter2
pkgdesc = Canon IJ Printer Driver for Linux
pkgver = 5.60
- pkgrel = 1
+ pkgrel = 2
url = https://www.canon.com.au/home-printers
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 87142e86bc3..c85ab887c59 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=cnijfilter2
pkgver=5.60
-pkgrel=1
+pkgrel=2
pkgdesc="Canon IJ Printer Driver for Linux"
arch=('i686' 'x86_64')
url="https://www.canon.com.au/home-printers"
@@ -8,13 +8,13 @@ license=('GPL' 'custom:canon')
depends=('cups' 'libxml2')
makedepends=('automake' 'autoconf')
provides=('tocanonij' 'tocnpwg' 'cnijlgmon3')
-source=("http://gdlp01.c-wss.com/gds/0/0100009490/01/$pkgname-source-$pkgver-$pkgrel.tar.gz")
+source=("http://gdlp01.c-wss.com/gds/0/0100009490/01/$pkgname-source-$pkgver-1.tar.gz")
md5sums=('8dc22e5c8be78b6f069bb9d51dbbfefb')
[[ "$CARCH" == "x86_64" ]] && _arch="64" || _arch="32"
build() {
- cd "$pkgname-source-$pkgver-$pkgrel"
+ cd "$pkgname-source-$pkgver-1"
pushd cmdtocanonij2
./autogen.sh --prefix=/usr \
@@ -23,6 +23,13 @@ build() {
make
popd
+ pushd cmdtocanonij3
+ ./autogen.sh --prefix=/usr \
+ --datadir=/usr/share \
+ LDFLAGS="-L../../com/libs_bin$_arch"
+ make
+ popd
+
pushd cnijbe2
./autogen.sh --prefix=/usr \
--enable-progpath=/usr/bin
@@ -56,12 +63,16 @@ build() {
}
check() {
- cd "$pkgname-source-$pkgver-$pkgrel"
+ cd "$pkgname-source-$pkgver-1"
pushd cmdtocanonij2
make check
popd
+ pushd cmdtocanonij3
+ make check
+ popd
+
pushd cnijbe2
make check
popd
@@ -90,7 +101,7 @@ package() {
mkdir -p "$pkgdir/usr/lib/cups/backend"
mkdir -p "$pkgdir/usr/share/cups/model"
- cd "$pkgname-source-$pkgver-$pkgrel"
+ cd "$pkgname-source-$pkgver-1"
install -m644 com/ini/cnnet.ini "$pkgdir/usr/lib/bjlib2"
install -sm755 com/libs_bin$_arch/*.so.* "$pkgdir/usr/lib"
@@ -105,6 +116,10 @@ package() {
make DESTDIR="$pkgdir/" install
popd
+ pushd cmdtocanonij3
+ make DESTDIR="$pkgdir/" install
+ popd
+
pushd cnijbe2
make DESTDIR="$pkgdir/" install
popd