summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUladzimir Panasiuk2019-02-22 14:15:44 +0300
committerUladzimir Panasiuk2019-02-22 14:15:44 +0300
commit66e98758414e3976971e8295946294dfaa6f2244 (patch)
tree760f7560ef2607bdefd89bb37854f6ebcc8aec3f
parent9db2d25491f0d0f95f6ef4c310abc6b83d38a66d (diff)
downloadaur-66e98758414e3976971e8295946294dfaa6f2244.tar.gz
oops
-rw-r--r--PKGBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fcdf5573f1b..961fcb0ca45 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,17 +8,17 @@ arch=('x86_64')
url='http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX'
license=('LGPL' 'custom:Epson Licence Agreement')
options=('!strip')
-depends=(
- 'qt4'
- 'ld-lsb=3'
-)
+depends=('qt4'
+ 'ld-lsb=3')
install=$pkgname.install
source=("https://download3.ebz.epson.net/dsc/f/03/00/09/02/33/71b2905a4cdf07374e83281333a767b24b57bc2d/${pkgname}_${pkgver}-1lsb3.2_amd64.deb"
- ecbd.service
- $pkgname.install)
+ 'ecbd.service'
+ "$pkgname.install"
+ "$pkgname.desktop")
sha256sums=('ecfe72484087bb1af5eb7ce83410f4efe96530f670a151ffeb9bad7b5b230650'
'8cc99a3e68b3367f4a78c05b93fdbbdcded13302fac72daf20b5a0ec9c6c9d55'
- 'a44c620094a8f807bd7c1286e772ca3de6f8983517d83f1ecd684d2632051f94')
+ 'c35c69fd16534c8e5b382e5918d921cf9a82d96b522833d50b652035f11eaa7c'
+ '9ec18291dfc6b886be438883a0b8e5d3f4eb7dfc570bc4b8c9dbe5dfc1d33e9f')
prepare() {
[ -d data ] && rm -rf data
@@ -32,15 +32,17 @@ prepare() {
package() {
mkdir -p $pkgdir/{opt/$pkgname,usr}
- cp -dr --no-preserve=ownership $srcdir/data/opt/epson-printer-utility/{bin,lib,resource} $pkgdir/opt/epson-printer-utility
+ cp -dr --no-preserve=ownership,mode $srcdir/data/opt/epson-printer-utility/{lib,resource} $pkgdir/opt/epson-printer-utility
+ install -Dm 755 $srcdir/data/opt/$pkgname/bin/$pkgname $pkgdir/opt/$pkgname/bin/$pkgname
mkdir -p $pkgdir/usr/lib/
- cp -dr --no-preserve=ownership $srcdir/data/usr/lib/cups $pkgdir/usr/lib/
+ cp -dr --no-preserve=ownership,mode $srcdir/data/usr/lib/cups $pkgdir/usr/lib/
install -Dm 755 $srcdir/data/usr/lib/epson-backend/ecbd $pkgdir/opt/$pkgname/lib/epson-backend/ecbd
mkdir -p $pkgdir/usr/bin
ln -s /opt/$pkgname/bin/$pkgname $pkgdir/usr/bin/$pkgname
install -Dm644 $srcdir/ecbd.service $pkgdir/usr/lib/systemd/system/ecbd.service
+ install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}