Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
64d8d443
Commit
64d8d443
authored
4 years ago
by
Jacek Pruciak
Committed by
Ariadne Conill
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/zsh-theme-powerlevel10k: new aport
parent
3a1a62fa
No related branches found
No related tags found
1 merge request
!19694
testing/zsh-theme-powerlevel10k: new aport
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/zsh-theme-powerlevel10k/APKBUILD
+66
-0
66 additions, 0 deletions
testing/zsh-theme-powerlevel10k/APKBUILD
with
66 additions
and
0 deletions
testing/zsh-theme-powerlevel10k/APKBUILD
0 → 100644
+
66
−
0
View file @
64d8d443
# Contributor: Jacek Pruciak <alpine@juniorjpdj.pl>
# Maintainer: Jacek Pruciak <alpine@juniorjpdj.pl>
pkgname
=
zsh-theme-powerlevel10k
pkgver
=
1.14.6
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"
options
=
"!check"
# no upstream tests
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/romkatv/powerlevel10k/archive/refs/tags/v
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/powerlevel10k-
$pkgver
"
case
"
$CARCH
"
in
armv7l
)
_cpu
=
armv7
;;
aarch64
)
_cpu
=
armv8-a
;;
ppc64le
)
_cpu
=
powerpc64le
;;
riscv64
)
_cpu
=
rv64imafdc
;;
x86_64
)
_cpu
=
x86-64
;;
x86
)
_cpu
=
i586
;;
s390x
)
_cpu
=
z900
;;
*
)
_cpu
=
"
$CARCH
"
;;
esac
prepare
()
{
# prevent downloading prebuilt version of gitstatus from github
sed
-i
's;./install -f;./install;'
gitstatus/Makefile
default_prepare
}
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/{}"
';'
')'
}
sha512sums
=
"e4d12cb81ce0bacf6c7021719e4dae3d0f88fe34db022ac0e7ba48a84ef86749d17ef1fe01a5ae392b6b10e3a6ea043dca244bda10be009c461ffc71380a7fcf zsh-theme-powerlevel10k-1.14.6.tar.gz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment