diff options
author | Alexander Konarev | 2022-05-31 08:46:12 +0300 |
---|---|---|
committer | Alexander Konarev | 2022-05-31 08:46:12 +0300 |
commit | 953084323daada5695a1ac7cd3d45bfc3dd921dc (patch) | |
tree | b0a5dee70af08650c109e21d9828d126d2e388eb | |
parent | f4624e83052abe4824caa122bd1a10cbcf440790 (diff) | |
download | aur-953084323daada5695a1ac7cd3d45bfc3dd921dc.tar.gz |
added autostart/autostop services
-rw-r--r-- | .SRCINFO | 3 | ||||
-rwxr-xr-x | PKGBUILD | 3 | ||||
-rw-r--r-- | package.install | 37 |
3 files changed, 41 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = aksusbd-bin pkgdesc = Sentinel AKSUSB daemon supporting Sentinel HASP, HASP HL, HASP4 and Hardlock keys. pkgver = 8.41 - pkgrel = 2 + pkgrel = 3 url = https://supportportal.thalesgroup.com + install = package.install arch = i686 arch = x86_64 license = custom @@ -3,7 +3,7 @@ pkgname=aksusbd-bin pkgver=8.41 -pkgrel=2 +pkgrel=3 pkgdesc="Sentinel AKSUSB daemon supporting Sentinel HASP, HASP HL, HASP4 and Hardlock keys." arch=('i686' 'x86_64') url="https://supportportal.thalesgroup.com" @@ -27,6 +27,7 @@ makedepends=('libarchive' conflicts=('ehaspd' 'aksusbd') options=('!strip') +install=package.install pkgver() { cd $srcdir diff --git a/package.install b/package.install new file mode 100644 index 000000000000..429b0d8dc846 --- /dev/null +++ b/package.install @@ -0,0 +1,37 @@ +# This is a default template for a post-install scriptlet. +# Uncomment only required functions and remove any functions +# you don't need (and this header). + +## arg 1: the new package version +#pre_install() { + # do something here +#} + +## arg 1: the new package version +post_install() { + # do something here + usr/bin/systemctl enable --now aksusbd +} + +## arg 1: the new package version +## arg 2: the old package version +#pre_upgrade() { + # do something here +#} + +## arg 1: the new package version +## arg 2: the old package version +#post_upgrade() { + # do something here +#} + +## arg 1: the old package version +pre_remove() { + # do something here + usr/bin/systemctl disable --now aksusbd +} + +## arg 1: the old package version +#post_remove() { + # do something here +#} |