diff options
author | Sakura1943 | 2021-06-19 20:31:55 +0800 |
---|---|---|
committer | Sakura1943 | 2021-06-19 20:31:55 +0800 |
commit | f595c756164faf2dfe8cf87956c68841dc7c1286 (patch) | |
tree | 60a0c914818fdb3be08ad728f482f8343c64a1c2 | |
parent | 48ceb3f0f1e4223c60bf6f1530a6408ead0347ba (diff) | |
download | aur-f595c756164faf2dfe8cf87956c68841dc7c1286.tar.gz |
uploads
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | zw3d-bin.install | 19 |
2 files changed, 20 insertions, 0 deletions
@@ -14,6 +14,7 @@ license=('unknown') url="https://www.zwsoft.cn/product/zw3d/linux" provides=("zw3d") options=('!strip') +intall=zw3d-bin.install source=("${pkgname}-${pkgver}-${arch}.deb::https://download.zwcad.com/zw3d/3d_linux/preview/${_year}/ZW3D-${_year}-Preview-V1_amd64.deb") sha512sums=('e9f3c062b4f859dee806ba0fc624ebc6b9f813d2bbfd36092705aff1a7daa35fd69ef3249381ea3392df4cc7f1087b9612d094bd4ea1ad899f0d2665a6ab4203') diff --git a/zw3d-bin.install b/zw3d-bin.install new file mode 100644 index 000000000000..3ba9000499e6 --- /dev/null +++ b/zw3d-bin.install @@ -0,0 +1,19 @@ +note() +{ + printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n" +} +all_off="$(tput sgr0)" +bold="${all_off}$(tput bold)" +blue="${bold}$(tput setaf 4)" +yellow="${bold}$(tput setaf 3)" +post_install() +{ + note "=============================" + note "Please enter zw3d to start" + note "Or click on the icon to start" + note "=============================" +} +post_remove() +{ + note "zw3d-bin has been deleted" +} |