diff options
author | Johan Radivoj | 2020-07-19 11:58:10 +0200 |
---|---|---|
committer | Johan Radivoj | 2020-07-19 11:58:10 +0200 |
commit | 72f4d1454d1d1b8af097f38090dab25dba768dd7 (patch) | |
tree | d91cf4dd8693250125d09be21bd393cd21936d58 | |
parent | d62466aa7f249a61dd20460d592fdd792af2fafa (diff) | |
download | aur-72f4d1454d1d1b8af097f38090dab25dba768dd7.tar.gz |
upgpkg: bspi-git r15.ed6d090-1
Install default config to /usr/share, add post-install instructions
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | bspi-git.install | 7 |
3 files changed, 10 insertions, 0 deletions
@@ -3,6 +3,7 @@ pkgbase = bspi-git pkgver = r15.ed6d090 pkgrel = 1 url = https://github.com/fiskhest/aur-bspi-git + install = bspi-git.install arch = any license = BSD makedepends = git @@ -9,6 +9,7 @@ pkgdesc='Icons for bspwm, sort of' arch=('any') url="https://github.com/fiskhest/aur-${pkgname}" license=('BSD') +install=${pkgname}.install depends=('bspwm' 'xorg-xprop' 'ttf-font-awesome' 'python') makedepends=('git') provides=("${_pkgname}") @@ -24,6 +25,7 @@ pkgver() { package() { cd "${_pkgname}" install -D -m 755 -t "${pkgdir}/usr/bin" bspi.py bspi_listen + install -D -m 644 bspi.ini "${pkgdir}/usr/share/doc/${_pkgname}/bspi.ini" install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/bspi-git.install b/bspi-git.install new file mode 100644 index 000000000000..9b3791e178c5 --- /dev/null +++ b/bspi-git.install @@ -0,0 +1,7 @@ +post_install() { + echo "bspi is now installed! Before it can function, you have to:" + echo "" + echo "Copy the default configuration file: \`cp /usr/share/doc/bspi/bspi.ini ~/.config/bspwm/bspi.ini\`" + echo "Add \`bspi_listen --config ~/.config/bspwm/bspi.ini &\` to your bspwmrc" + echo "" +}
\ No newline at end of file |