summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNebulaBC2023-03-11 15:37:21 -0500
committerNebulaBC2023-03-11 15:37:21 -0500
commit75d4799721feb3894ffb7b041394ce71ee70e903 (patch)
tree9e81d29ad1d0c01277a072236754e6046d597353
parent9b51e988a6c6e629145b3f037bdcf228e4123fd4 (diff)
downloadaur-75d4799721feb3894ffb7b041394ce71ee70e903.tar.gz
Add auto run setup after install
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
-rw-r--r--install.sh13
3 files changed, 4 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3773879355cd..a1463d8ac466 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = ufrii-print
pkgver = 1.0
pkgrel = 1
url = https://www.usa.canon.com/support/p/color-imageclass-mf644cdw
+ install = install.sh
arch = x86_64
depends = cups
depends = ghostscript
diff --git a/PKGBUILD b/PKGBUILD
index b5687b4934e9..ee4c425bd3af 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,6 +14,8 @@ depends=('cups'
'zlib'
'wget')
+install=install.sh
+
build() {
wget https://gdlp01.c-wss.com/gds/6/0100009236/15/linux-UFRII-drv-v570-us-11.tar.gz
tar -xf linux-UFRII-drv-v570-us-11.tar.gz
diff --git a/install.sh b/install.sh
index a27792850c8b..4e3034118c79 100644
--- a/install.sh
+++ b/install.sh
@@ -1,14 +1,3 @@
-pkgname='ufrii-print'
-
-post_install()
-{
+post_install() {
cnsetuputil2
}
-
-post_upgrade()
-{
-}
-
-post_remove()
-{
-}