Skip to content
Snippets Groups Projects
Commit f1f57f16 authored by Marvin Preuss's avatar Marvin Preuss Committed by alice
Browse files

community/i3blocks: move from testing

parent fb66359a
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!34971community/i3blocks: move from testing
Pipeline #124138 passed with stages
in 1 minute and 2 seconds
......@@ -11,7 +11,7 @@ options="!check" # no test suite
makedepends="ronn autoconf automake bash-completion"
subpackages="$pkgname-bash-completion $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/vivien/i3blocks/archive/$pkgver.tar.gz
fix-makefile.patch
bash-completion.patch
"
prepare() {
......@@ -33,5 +33,7 @@ package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
}
sha512sums="759829d59f94070251378d437891c2df05715fbd0b734c34dd41767d61957f301c6125b0058668295b8eeac29038fae6b2e8c194f903398ee736662213d1d534 i3blocks-1.5.tar.gz
b54fb4b9f2a08a1bfafb7ebcf36c87c850d795af2c6f4509bcfa0853340f96bf13662445e24033a94c6e13b9e0b8a7ab6a52a914b99ee8196e0d2275eaf9b5d1 fix-makefile.patch"
sha512sums="
759829d59f94070251378d437891c2df05715fbd0b734c34dd41767d61957f301c6125b0058668295b8eeac29038fae6b2e8c194f903398ee736662213d1d534 i3blocks-1.5.tar.gz
5d5034c492302e73c7c9c41fc4de1828472ef5e019fc2535e738dca5a27b90d7454863accb687fcc3def8cd9964ab51bc1d63f1472d5f7377d822c967af2b511 bash-completion.patch
"
diff --git a/Makefile.am b/Makefile.am
index d755a2b..f8a598e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,9 +34,6 @@ if ENABLE_BASH_COMPLETION
bashcompletiondir = $(BASH_COMPLETION_DIR)
@@ -35,6 +35,7 @@
bashcompletion_DATA = bash-completion
-install-data-local:
install-data-local:
+ install -d -m 755 '$(DESTDIR)$(BASH_COMPLETION_DIR)'
+ install -m 644 bash-completion '$(DESTDIR)$(BASH_COMPLETION_DIR)'/i3blocks
- ( cd '$(DESTDIR)$(BASH_COMPLETION_DIR)' && mv bash-completion i3blocks )
-
uninstall-local:
( cd '$(DESTDIR)$(BASH_COMPLETION_DIR)' && rm -rf i3blocks )
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment