summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2017-11-01 19:49:00 +0100
committerMuflone2017-11-01 19:49:00 +0100
commit23d406f0d7302c165316d426e1c3d6354cfad460 (patch)
treef20a98cac21532975cb736a7db2441f95baeae95
parentb10c05dc31180527b56331352d1702b9090b7258 (diff)
downloadaur-23d406f0d7302c165316d426e1c3d6354cfad460.tar.gz
Updated package iscan-plugin-gt-f720 1.0.1-2
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD20
-rw-r--r--iscan-plugin-gt-f720.install4
3 files changed, 14 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6da138b4d05..3a3c8e0b6f9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
# Generated by mksrcinfo v8
-# Sun Oct 15 23:53:50 UTC 2017
+# Wed Nov 1 18:48:14 UTC 2017
pkgbase = iscan-plugin-gt-f720
pkgdesc = EPSON Image Scan! plugin for Epson scanners (GT-F720, GT-S620, Perfection V30, Perfection V300 Photo)
pkgver = 1.0.1
- pkgrel = 1
+ pkgrel = 2
url = http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
install = iscan-plugin-gt-f720.install
arch = i686
arch = x86_64
license = custom:AVASYSPL
depends = iscan
- conflicts = iscan-plugin-gt-x720
source_i686 = https://download2.ebz.epson.net/iscan/plugin/gt-f720/deb/x86/iscan-gt-f720-bundle-1.0.0.x86.deb.tar.gz
sha256sums_i686 = 594523472475bf2c822f77b3f60b78a0eaa2e0affb263e8e1a7c82b43bc94e0c
source_x86_64 = https://download2.ebz.epson.net/iscan/plugin/gt-f720/deb/x64/iscan-gt-f720-bundle-1.0.0.x64.deb.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 3537d38a945..cfb1971de56 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,12 @@
pkgname=iscan-plugin-gt-f720
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="EPSON Image Scan! plugin for Epson scanners (GT-F720, GT-S620, Perfection V30, Perfection V300 Photo)"
arch=('i686' 'x86_64')
url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
license=('custom:AVASYSPL')
depends=('iscan')
-conflicts=('iscan-plugin-gt-x720')
_plugin=${pkgname/iscan-plugin-/}
_iscan_ver=1.0.0
_plugin_rel=2
@@ -35,24 +34,25 @@ fi
build() {
cd "iscan-${_plugin}-bundle-${_iscan_ver}.${_filearch}.deb/plugins"
- bsdtar -xf esci-interpreter-${_plugin}_${_file_ver}-${_plugin_rel}_${_debarch}.deb
+ bsdtar -xf "esci-interpreter-${_plugin}_${_file_ver}-${_plugin_rel}_${_debarch}.deb"
bsdtar -xf data.tar.gz
gzip -fkd "usr/share/doc/esci-interpreter-${_plugin}/NEWS.gz"
}
package() {
cd "iscan-${_plugin}-bundle-${_iscan_ver}.${_filearch}.deb/plugins/usr"
+ # Install plugins
install -m 755 -d "${pkgdir}/usr/lib/iscan"
- install -m 644 -t "${pkgdir}/usr/lib/iscan" "lib/esci/libesci-interpreter-gt-f720.so.0.0.0"
- ln -s libesci-interpreter-gt-f720.so.0.0.0 "${pkgdir}/usr/lib/iscan/libesci-interpreter-gt-f720.so"
- ln -s libesci-interpreter-gt-f720.so.0.0.0 "${pkgdir}/usr/lib/iscan/libesci-interpreter-gt-f720.so.0"
-
+ install -m 644 -t "${pkgdir}/usr/lib/iscan" "lib/esci/libesci-interpreter-${_plugin}.so.0.0.0"
+ ln -s "libesci-interpreter-${_plugin}.so.0.0.0" "${pkgdir}/usr/lib/iscan/libesci-interpreter-${_plugin}.so"
+ ln -s "libesci-interpreter-${_plugin}.so.0.0.0" "${pkgdir}/usr/lib/iscan/libesci-interpreter-${_plugin}.so.0"
+ # Install firmwares
install -m 755 -d "${pkgdir}/usr/share/esci"
install -m 644 -t "${pkgdir}/usr/share/esci" "share/esci/esfw8b.bin"
-
+ # Install documentation
install -m 755 -d "${pkgdir}/usr/share/doc/${pkgname}"
- install -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" "share/doc/esci-interpreter-gt-f720"/{NEWS,README}
-
+ install -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" "share/doc/esci-interpreter-${_plugin}/NEWS"
+ # Install licenses
install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m 644 "share/doc/esci-interpreter-gt-f720/AVASYSPL.en.txt" "${pkgdir}/usr/share/licenses/${pkgname}/AVASYSPL"
}
diff --git a/iscan-plugin-gt-f720.install b/iscan-plugin-gt-f720.install
index 364dce791ac..4335236ed4c 100644
--- a/iscan-plugin-gt-f720.install
+++ b/iscan-plugin-gt-f720.install
@@ -1,12 +1,12 @@
post_install() {
- echo "Running iscan-registry to register plugins and firmware with iscan"
+ echo "Registering iscan plugins and firmwares"
iscan-registry --add interpreter usb 0x04b8 0x0131 \
/usr/lib/iscan/libesci-interpreter-gt-f720 \
/usr/share/esci/esfw8b.bin
}
pre_remove() {
- echo "Unregistering gt-x700 plugins/firmware"
+ echo "Unregistering iscan plugins and firmwares"
iscan-registry --remove interpreter usb 0x04b8 0x0131 \
/usr/lib/iscan/libesci-interpreter-gt-f720 \
/usr/share/esci/esfw8b.bin