Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
2f1a4473
Commit
2f1a4473
authored
Apr 21, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add cnrdrvcups-ufr2 support
parent
6e562aac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
0 deletions
+61
-0
cnrdrvcups-ufr2-uk.sh
pack.d/cnrdrvcups-ufr2-uk.sh
+48
-0
cnrdrvcups-ufr2.sh
play.d/cnrdrvcups-ufr2.sh
+13
-0
No files found.
pack.d/cnrdrvcups-ufr2-uk.sh
0 → 100755
View file @
2f1a4473
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
CURDIR
=
"
$(
pwd
)
"
PKGDIR
=
"
$(
mktemp
-d
)
"
trap
"rm -fr
$PKGDIR
"
EXIT
cd
$PKGDIR
||
fatal
if
!
echo
"
$TAR
"
|
grep
"linux-UFRII-drv"
;
then
fatal
"How no idea how to handle
$TAR
"
fi
erc unpack
$TAR
&&
cd
linux-
*
||
fatal
case
"
$(
epm print info
-a
)
"
in
x86_64
)
cd
x64
||
fatal
;;
x86
)
cd
x86
||
fatal
;;
aarch64
)
cd
ARM64
||
fatal
;;
*
)
fatal
"Unsupported arch"
;;
esac
case
"
$(
epm print info
-p
)
"
in
rpm
)
PKG
=
"RPM/*.rpm"
;;
*
)
cd
Debian
||
fatal
PKG
=
"Debian/*.deb"
;;
esac
PKG
=
"
$(
echo
$PKG
)
"
cp
$PKG
$CURDIR
||
fatal
return_tar
$(
basename
$PKG
)
play.d/cnrdrvcups-ufr2.sh
0 → 100755
View file @
2f1a4473
#!/bin/sh
PKGNAME
=
cnrdrvcups-ufr2-uk
SUPPORTEDARCHES
=
"x86_64 aarch64"
DESCRIPTION
=
"Canon UFR II Printer Driver for Linux from the official site"
URL
=
"https://www.canon.ru/support/business-product-support/office_driver_guide/"
.
$(
dirname
$0
)
/common.sh
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=cnrdrvcups-lb
PKGURL
=
"https://gdlp01.c-wss.com/gds/8/0100007658/33/linux-UFRII-drv-v570-m17n-11.tar.gz"
epm pack
--install
$PKGNAME
"
$PKGURL
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment