diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-22 18:21:15 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-22 18:45:15 -0300 |
commit | e8e40b38446ab25798ffa76defc1329617fb6487 (patch) | |
tree | 4105104606913f6c915ea94d64da896eb805902e /testing/i3blocks/APKBUILD | |
parent | 3fdcccb1859cf31d6efb9493fabee34ee90f87fd (diff) | |
download | aports-e8e40b38446ab25798ffa76defc1329617fb6487.tar.bz2 aports-e8e40b38446ab25798ffa76defc1329617fb6487.tar.xz |
testing/i3blocks: upgrade to 1.5
Diffstat (limited to 'testing/i3blocks/APKBUILD')
-rw-r--r-- | testing/i3blocks/APKBUILD | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/testing/i3blocks/APKBUILD b/testing/i3blocks/APKBUILD index e6c48452fd..7c33d13a77 100644 --- a/testing/i3blocks/APKBUILD +++ b/testing/i3blocks/APKBUILD @@ -1,29 +1,44 @@ # Contributor: Marvin Steadfast <marvin@xsteadfastx.org> # Maintainer: Marvin Steadfast <marvin@xsteadfastx.org> pkgname=i3blocks -pkgver=1.4 +pkgver=1.5 pkgrel=0 pkgdesc="A minimalist scheduler for your status line scripts" url="https://github.com/vivien/i3blocks" arch="all" license="GPL-3.0-or-later" options="!check" # no test suite -makedepends="ronn" -subpackages="$pkgname-doc" +makedepends="ronn autoconf automake" +subpackages="$pkgname-doc + $pkgname-bash-completion:bashcomp:noarch" source="$pkgname-$pkgver.tar.gz::https://github.com/vivien/i3blocks/archive/$pkgver.tar.gz - fix-musl.patch " -builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare + autoreconf -fi +} build() { - cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man make } package() { - cd "$builddir" make DESTDIR="$pkgdir" PREFIX=/usr install } -sha512sums="f04fd68d59097b21bc88f3097dff137de656dd3fa696d9c04b987ba25136e5e5d9cacb63998e8635fe55fcf94f47900aec8c79d98e1d1d8847856a89ad9a6578 i3blocks-1.4.tar.gz -ea4e76637d3112f4529558e04bb93007297678360052be4a28932e9389afe98f538a09008f92fcf0a68312c1c60ac5ad0687f467555ebccc4ac833c489856017 fix-musl.patch" +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" |