diff --git a/testing/zsh-theme-powerlevel10k/APKBUILD b/testing/zsh-theme-powerlevel10k/APKBUILD index 8bdbacfebc93f478fe0eeb708da5856e489d1950..26c2c238e7b41539e387dc2de834e62b966ae109 100644 --- a/testing/zsh-theme-powerlevel10k/APKBUILD +++ b/testing/zsh-theme-powerlevel10k/APKBUILD @@ -1,19 +1,16 @@ # Contributor: Jacek Pruciak <alpine@juniorjpdj.pl> # Maintainer: Jacek Pruciak <alpine@juniorjpdj.pl> pkgname=zsh-theme-powerlevel10k -pkgver=1.15.0 +pkgver=1.16.0 pkgrel=0 pkgdesc="Theme for Zsh. It emphasizes speed, flexibility and out-of-the-box experience." url="https://github.com/romkatv/powerlevel10k" arch="all" license="MIT" depends="zsh" -makedepends="cmake perl-utils" +makedepends="cmake wget" options="!check" # no upstream tests -source=" - $pkgname-$pkgver.tar.gz::https://github.com/romkatv/powerlevel10k/archive/refs/tags/v$pkgver.tar.gz - dont-download-gitstatus.patch -" +source="$pkgname-$pkgver.tar.gz::https://github.com/romkatv/powerlevel10k/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/powerlevel10k-$pkgver" case "$CARCH" in @@ -33,35 +30,13 @@ build() { cd gitstatus ./build -w -c "$_cpu" cd .. - - make pkg } package() { - # remove unneeded files - find . \( \ - -name 'docs' -o \ - -name '.vscode' -o \ - -name 'deps' -o \ - -name '*.md' -o \ - -name 'src' -o \ - -name 'Makefile' -o \ - -name '.vscode' -o \ - -name 'LICENSE' -o \ - -name '.gitattributes' -o \ - -name '.clang-format' -o \ - -name 'mbuild' -o \ - -name 'build' -o \ - -name '.gitignore' -o \ - -name '.gitkeep' -o \ - -name '*.png' \ - \) -exec rm -rf {} + - - find . -path .git -prune \ - -o '(' -type f -exec install -D '{}' "$pkgdir/usr/share/zsh-theme-powerlevel10k/{}" ';' ')' + find . -type f -exec install -D '{}' "$pkgdir/usr/share/zsh-theme-powerlevel10k/{}" ';' + make -C "$pkgdir"/usr/share/zsh-theme-powerlevel10k zwc minify } sha512sums=" -ba848aed634fcfcc7da901092cd1d9876df5bde06eae729e684e9bc0aa67109e29e5600d56ae2683769e2ce79948e31b9d07aef11d745d04ef68e24de8ac2ad4 zsh-theme-powerlevel10k-1.15.0.tar.gz -59bd7c90ab156bb47dae68a9787e146ada87093ce78c3c90ddaaf6b3e7c0976e0f70852e32758ddcac8b9aa3be2c2d2bb00a74815b354dd009b3b4c56bd8b5aa dont-download-gitstatus.patch +291f4fb892cb9fc06dfcad2d57c72c41c33a1bf6252b699c78eae74049f63b66f95ddbe3f243bb134b0755ed9e9bedbd590614bdb06c98a44684e4999d1fcc20 zsh-theme-powerlevel10k-1.16.0.tar.gz " diff --git a/testing/zsh-theme-powerlevel10k/dont-download-gitstatus.patch b/testing/zsh-theme-powerlevel10k/dont-download-gitstatus.patch deleted file mode 100644 index 334714c25492604afc9a3a83bf9e1864e72d6da3..0000000000000000000000000000000000000000 --- a/testing/zsh-theme-powerlevel10k/dont-download-gitstatus.patch +++ /dev/null @@ -1,14 +0,0 @@ -Upstream: No, upstream added additional make target after stable tag -Reason: gitstatus Makefile downloads binary instead of building one and even when it's present - downloads new one - ---- a/gitstatus/Makefile -+++ b/gitstatus/Makefile -@@ -35,7 +35,7 @@ clean: - rm -rf -- $(OBJDIR) - - pkg: -- GITSTATUS_DAEMON= GITSTATUS_CACHE_DIR=$(shell pwd)/usrbin ./install -f -+ GITSTATUS_DAEMON= GITSTATUS_CACHE_DIR=$(shell pwd)/usrbin ./install - $(or $(ZSH),:) -fc 'for f in *.zsh install; do zcompile -R -- $$f.zwc $$f || exit; done' - - -include $(OBJS:.o=.dep)