Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: zsh-theme-powerlevel10k 1.10.1-3 Fix Flags for libgit2 and re…
Browse files Browse the repository at this point in the history
…move more files

This commit fixes the flags for libgit2 via removing -DCMAKE_BUILD_TYPE=Release.
Also it removes more unnecessary files

git-svn-id: file:///srv/repos/svn-community/svn@635037 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
shibumi authored and svntogit committed May 26, 2020
1 parent 0bd6952 commit 25d61df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pkgname=zsh-theme-powerlevel10k
# Whenever pkgver is updated, _libgit2ver below must also be updated.
pkgver=1.10.1
_libgit2ver="tag-005f77dca6dbe8788e55139fa1199fc94cc04f9a"
pkgrel=2
pkgrel=3
pkgdesc="Powerlevel10k is a theme for Zsh. It emphasizes speed, flexibility and out-of-the-box experience."
arch=('x86_64')
url='https://github.com/romkatv/powerlevel10k'
Expand All @@ -31,7 +31,6 @@ replaces=('zsh-theme-powerlevel9k')
build() {
cd "${srcdir}/libgit2-${_libgit2ver}"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DZERO_NSEC=ON \
-DTHREADSAFE=ON \
-DUSE_BUNDLED_ZLIB=ON \
Expand Down Expand Up @@ -66,6 +65,10 @@ package() {
rm -rf "${pkgdir}/usr/share/zsh-theme-powerlevel10k/gitstatus/deps"
rm -rf "${pkgdir}/usr/share/zsh-theme-powerlevel10k/gitstatus/Makefile"
rm -rf "${pkgdir}/usr/share/zsh-theme-powerlevel10k/gitstatus/mbuild"
rm "${pkgdir}/usr/share/zsh-theme-powerlevel10k/.gitattributes"
rm "${pkgdir}/usr/share/zsh-theme-powerlevel10k/.gitignore"
rm "${pkgdir}/usr/share/zsh-theme-powerlevel10k/gitstatus/.clang-format"
rm -rf "${pkgdir}/usr/share/zsh-theme-powerlevel10k/gitstatus/.vscode/"
# unfortunetaly this is necessary. Otherwise gitstatus/install will try to
# sideload the gitstatus binary and place it in $HOME/.cache/gitstatus/
mv "${pkgdir}/usr/share/zsh-theme-powerlevel10k/gitstatus/usrbin/"{gitstatusd,gitstatusd-linux-x86_64}
Expand Down

0 comments on commit 25d61df

Please sign in to comment.