summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Radivoj2020-07-19 11:58:10 +0200
committerJohan Radivoj2020-07-19 11:58:10 +0200
commit72f4d1454d1d1b8af097f38090dab25dba768dd7 (patch)
treed91cf4dd8693250125d09be21bd393cd21936d58
parentd62466aa7f249a61dd20460d592fdd792af2fafa (diff)
downloadaur-72f4d1454d1d1b8af097f38090dab25dba768dd7.tar.gz
upgpkg: bspi-git r15.ed6d090-1
Install default config to /usr/share, add post-install instructions
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
-rw-r--r--bspi-git.install7
3 files changed, 10 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cd43725c6f29..09fe9c58bd7b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index ae4d7747c75a..55f256a59a09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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