summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMuflone2020-01-24 17:21:53 +0100
committerMuflone2020-01-24 17:21:53 +0100
commit9dcb4f4e4f6bad4a41b232744de113c8c60f9629 (patch)
tree64969d14e8e161d7a03c83f64aa92d9342f5ca92 /PKGBUILD
parent55a31fdbfc0f02f40701822d2c172e363b137df0 (diff)
downloadaur-iscan-plugin-gt-s650.tar.gz
Updated package iscan-plugin-gt-s650 2.30.4-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 18 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 577be5915d9..471a394bfe0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,32 @@
# Maintainer: Muflone http://www.muflone.com/contacts/english/
pkgname=iscan-plugin-gt-s650
-pkgver=1.3.23
+pkgver=2.30.4
pkgrel=1
pkgdesc="EPSON Image Scan! plugin for Epson scanners (DS, EP, ES, ET, EW, L, LX, PX, WF, XP Series, FF-640, GT-S650, Perfection V19, Perfection V39)"
arch=('x86_64')
url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
-license=('custom:AVASYSPL')
+license=('custom:EPSON EULA')
depends=('iscan' 'iscan-data')
-_plugin=${pkgname/iscan-plugin-/}
-_iscan_ver=1.0.0
-_plugin_rel=2
-_file_ver=1.1.0
-source=("https://download2.ebz.epson.net/iscan/plugin/${_plugin}/deb/x64/iscan-${_plugin}-bundle-${_iscan_ver}.x64.deb.tar.gz")
-sha256sums=('d27e55652942f7c6e5f7f1b09296b742751c872e3963f8167e1f66fe360d9226')
+source=("https://download2.ebz.epson.net/iscan/plugin/gt-s650/deb/x64/iscan-gt-s650-bundle-${pkgver}.x64.deb.tar.gz")
+sha256sums=('0d7a0fd6a19be7d3acde64c631dbbda6b91b59584a2535e308499e53cb130b58')
install="${pkgname}.install"
-build() {
- cd "iscan-${_plugin}-bundle-${_iscan_ver}.x64.deb/plugins"
- bsdtar -xf "${pkgname}_${_file_ver}-${_plugin_rel}_amd64.deb"
+prepare() {
+ cd "iscan-gt-s650-bundle-${pkgver}.x64.deb/plugins"
+ bsdtar -xf "iscan-plugin-gt-s650_1.1.1-1_amd64.deb"
bsdtar -xf data.tar.gz
- gzip -fkd "usr/share/doc/${pkgname}/NEWS.gz"
+ gzip -fkd "usr/share/doc/iscan-plugin-gt-s650/NEWS.gz"
+ gzip -fkd "usr/share/doc/iscan-plugin-gt-s650/COPYING.EPSON.en.txt.gz"
}
package() {
- cd "iscan-${_plugin}-bundle-${_iscan_ver}.x64.deb/plugins/usr"
+ cd "iscan-gt-s650-bundle-${pkgver}.x64.deb/plugins/usr"
# Install plugins
install -m 755 -d "${pkgdir}/usr/lib/iscan"
- install -m 644 -t "${pkgdir}/usr/lib/iscan" "lib/iscan/lib${pkgname}.so.0.0.0"
- ln -s "lib${pkgname}.so.0.0.0" "${pkgdir}/usr/lib/iscan/lib${pkgname}.so"
- ln -s "lib${pkgname}.so.0.0.0" "${pkgdir}/usr/lib/iscan/lib${pkgname}.so.0"
+ install -m 644 -t "${pkgdir}/usr/lib/iscan" "lib/iscan/libiscan-plugin-gt-s650.so.0.0.0"
+ ln -s "libiscan-plugin-gt-s650.so.0.0.0" "${pkgdir}/usr/lib/iscan/libiscan-plugin-gt-s650.so"
+ ln -s "libiscan-plugin-gt-s650.so.0.0.0" "${pkgdir}/usr/lib/iscan/libiscan-plugin-gt-s650.so.0"
# Install firmwares
install -m 755 -d "${pkgdir}/usr/share/iscan"
install -m 644 -t "${pkgdir}/usr/share/iscan" "share/iscan/esfw010c.bin"
@@ -39,8 +36,11 @@ package() {
install -m 644 -t "${pkgdir}/usr/share/iscan-data/device" "share/iscan-data/device/50657266656374696f6e20563339.xml"
# Install documentation
install -m 755 -d "${pkgdir}/usr/share/doc/${pkgname}"
- install -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" "share/doc/${pkgname}/NEWS"
+ install -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ "share/doc/iscan-plugin-gt-s650/NEWS"
# Install licenses
install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m 644 "share/doc/${pkgname}/AVASYSPL.en.txt" "${pkgdir}/usr/share/licenses/${pkgname}/AVASYSPL"
+ install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" \
+ "share/doc/iscan-plugin-gt-s650/COPYING.EPSON.en.txt" \
+ "share/doc/iscan-plugin-gt-s650/copyright"
}