summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Landauer2016-11-21 08:50:47 +0100
committerBernhard Landauer2016-11-21 08:50:47 +0100
commit58ffe0ea3e25925a87d768bdeb1170e3eec4c649 (patch)
treef29462fab1390e2fd3ba06f14ced9b74cc255b41
parent9e29096eed22c4bd8f1b5467276c2fcb98aa70a5 (diff)
downloadaur-58ffe0ea3e25925a87d768bdeb1170e3eec4c649.tar.gz
use bsdtar and rm unavailable optdepends
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2097ec9f842..af6b94dc812 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,19 @@
+# Generated by mksrcinfo v8
+# Mon Nov 21 07:49:12 UTC 2016
pkgbase = cnijfilter-common-mg2400
pkgdesc = Canon IJ Printer Driver For MG-2400
pkgver = 4.00
- pkgrel = 1
+ pkgrel = 2
url = http://support-ph.canon-asia.com/contents/PH/EN/0100466201.html
arch = i686
arch = x86_64
license = unknown
- makedepends = rpmextract
depends = cups
depends = popt
depends = libxml2
depends = gtk2
depends = libtiff
depends = libpng
- optdepends = scangearmp-mg2400
source = http://gdlp01.c-wss.com/gds/9/0100005499/01/cnijfilter-mg2400series-4.00-1-rpm.tar.gz
md5sums = 73b00b2ca8d327ce9b427b5438d34d1c
diff --git a/PKGBUILD b/PKGBUILD
index ca00e5d80ea..803e71b891f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,14 @@
pkgname=cnijfilter-common-mg2400
pkgver=4.00
-pkgrel=1
+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')
-makedepends=('rpmextract')
-optdepends=('scangearmp-mg2400')
-source=("http://gdlp01.c-wss.com/gds/9/0100005499/01/cnijfilter-mg2400series-$pkgver-$pkgrel-rpm.tar.gz")
+source=("http://gdlp01.c-wss.com/gds/9/0100005499/01/cnijfilter-mg2400series-$pkgver-$_pkgrel-rpm.tar.gz")
md5sums=('73b00b2ca8d327ce9b427b5438d34d1c')
package() {
@@ -21,7 +20,7 @@ package() {
rpmfile=$(find "$srcdir" -name cnijfilter-common-$pkgver*i386*.rpm)
fi
cd $pkgdir
- rpmextract.sh $rpmfile
+ bsdtar -xf $rpmfile
rm -r $pkgdir/usr/lib
mv $pkgdir/usr/lib64 $pkgdir/usr/lib
cp -r $pkgdir/usr/local/* $pkgdir/usr/