Skip to content
Snippets Groups Projects
Commit 42f90355 authored by Leo's avatar Leo
Browse files

testing/i3blocks: modernize

parent ddfac889
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ arch="all" ...@@ -9,7 +9,7 @@ arch="all"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
options="!check" # no test suite options="!check" # no test suite
makedepends="ronn autoconf automake bash-completion" makedepends="ronn autoconf automake bash-completion"
subpackages="$pkgname-bash-completion:bashcomp:noarch $pkgname-doc" subpackages="$pkgname-bash-completion $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/vivien/i3blocks/archive/$pkgver.tar.gz source="$pkgname-$pkgver.tar.gz::https://github.com/vivien/i3blocks/archive/$pkgver.tar.gz
fix-makefile.patch fix-makefile.patch
" "
...@@ -33,13 +33,5 @@ package() { ...@@ -33,13 +33,5 @@ package() {
make DESTDIR="$pkgdir" PREFIX=/usr install make DESTDIR="$pkgdir" PREFIX=/usr install
} }
bashcomp() {
pkgdesc="Bash completion for $pkgname"
depends=""
install_if="bash-completion $pkgname=$pkgver-r$pkgrel"
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share/
}
sha512sums="759829d59f94070251378d437891c2df05715fbd0b734c34dd41767d61957f301c6125b0058668295b8eeac29038fae6b2e8c194f903398ee736662213d1d534 i3blocks-1.5.tar.gz sha512sums="759829d59f94070251378d437891c2df05715fbd0b734c34dd41767d61957f301c6125b0058668295b8eeac29038fae6b2e8c194f903398ee736662213d1d534 i3blocks-1.5.tar.gz
b54fb4b9f2a08a1bfafb7ebcf36c87c850d795af2c6f4509bcfa0853340f96bf13662445e24033a94c6e13b9e0b8a7ab6a52a914b99ee8196e0d2275eaf9b5d1 fix-makefile.patch" b54fb4b9f2a08a1bfafb7ebcf36c87c850d795af2c6f4509bcfa0853340f96bf13662445e24033a94c6e13b9e0b8a7ab6a52a914b99ee8196e0d2275eaf9b5d1 fix-makefile.patch"
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