summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM4D2016-01-13 14:22:20 +0100
committerM4D2016-01-13 14:22:20 +0100
commit8f90f69839cba53a1a3570268a7a95781eda4647 (patch)
treebf5066fcc20598780868cfa14991607ac701bb3c
downloadaur-8f90f69839cba53a1a3570268a7a95781eda4647.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD28
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b50bb7c259a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Wed Jan 13 13:21:24 UTC 2016
+pkgbase = cnijfilter2-mg7700
+ pkgdesc = Canon InkJet Printer Driver (PIXMA MG3640, PIXMA MG3650, PIXMA MG5740, PIXMA MG5750, PIXMA MG6840, PIXMA MG6850, PIXMA MG7740, PIXMA MG7750)
+ pkgver = 5.20
+ pkgrel = 1
+ url = http://support-th.canon-asia.com/contents/TH/EN/0100690202.html
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = libcups
+ depends = libxml2
+ provides = cnijfilter2=5.20
+ source = http://gdlp01.c-wss.com/gds/2/0100006902/01/cnijfilter2-5.20-1-deb.tar.gz
+ sha256sums = bec7bb37ce410ea1418a52526f9f7c0e0626979819ce6f7992ef245b37da7dd3
+
+pkgname = cnijfilter2-mg7700
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..335ec9573de
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d4eb56bf523
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: m4dz <code(at)m4dz(dot)net>
+
+pkgname=cnijfilter2-mg7700
+pkgver=5.20
+pkgrel=1
+pkgdesc='Canon InkJet Printer Driver (PIXMA MG3640, PIXMA MG3650, PIXMA MG5740, PIXMA MG5750, PIXMA MG6840, PIXMA MG6850, PIXMA MG7740, PIXMA MG7750)'
+arch=('i686' 'x86_64')
+url='http://support-th.canon-asia.com/contents/TH/EN/0100690202.html'
+license=('custom')
+depends=('libcups' 'libxml2')
+provides=("cnijfilter2=$pkgver")
+source=("http://gdlp01.c-wss.com/gds/2/0100006902/01/cnijfilter2-$pkgver-$pkgrel-deb.tar.gz")
+sha256sums=('bec7bb37ce410ea1418a52526f9f7c0e0626979819ce6f7992ef245b37da7dd3')
+
+prepare() {
+ local _pkgarch=$(echo -n "${CARCH}" | sed 's/x86_/amd/' | sed 's/i6/i3/')
+ local _debdir="cnijfilter2-${pkgver}-${pkgrel}-deb/packages"
+
+ ar -x "${_debdir}/cnijfilter2_${pkgver}-${pkgrel}_${_pkgarch}.deb" "data.tar.gz"
+ bsdtar -xzf data.tar.gz
+}
+
+package() {
+ cp -r usr ${pkgdir}
+
+ install -dm755 ${pkgdir}/usr/share/licences/${pkgname}
+ mv ${pkgdir}/usr/share/doc/cnijfilter2/LICENSE* ${pkgdir}/usr/share/licences/${pkgname}
+}