diff options
author | Arnaud Dovi | 2020-01-28 21:12:57 +0100 |
---|---|---|
committer | Arnaud Dovi | 2020-01-28 21:12:57 +0100 |
commit | 7e6b5388e8c3ba73980876f5835df7e30fec1fb9 (patch) | |
tree | 8b8c1287a0d86834938ae6892c3f0a0c915ecb77 | |
parent | d1a03e2502ebf9873e1bd1adfa0957a2cada3e45 (diff) | |
download | aur-7e6b5388e8c3ba73980876f5835df7e30fec1fb9.tar.gz |
added octopi.install
-rw-r--r-- | .SRCINFO | 3 | ||||
-rwxr-xr-x | PKGBUILD | 3 | ||||
-rw-r--r-- | octopi.install | 14 |
3 files changed, 18 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = octopi-git pkgdesc = This is Octopi, a powerful Pacman frontend using Qt libs pkgver = 0.9.0.r336.a05add1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/aarnt/octopi + install = octopi.install arch = x86_64 license = GPL2 makedepends = git @@ -12,7 +12,7 @@ WITH_DARK_ICON=1 pkgname=octopi-git pkgver=0.9.0.r336.a05add1 -pkgrel=2 +pkgrel=3 pkgdesc="This is Octopi, a powerful Pacman frontend using Qt libs" arch=('x86_64') url="https://github.com/aarnt/octopi" @@ -46,6 +46,7 @@ conflicts=( 'octopi-dev' 'octopi-notifier-noknotify' ) +install=octopi.install source=( 'git+https://github.com/aarnt/octopi.git' 'octopi_dark.png' diff --git a/octopi.install b/octopi.install new file mode 100644 index 000000000000..955ac0af1287 --- /dev/null +++ b/octopi.install @@ -0,0 +1,14 @@ +post_install() { + + systemctl enable octopi.service &> /dev/null +} + +post_upgrade() { + + post_install $1 +} + +post_remove() { + + systemctl disable octopi.service &> /dev/null +} |