File tree Expand file tree Collapse file tree
vup/srcpkgs/productivity/gittop Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Template file for 'gittop'
2+ pkgname=gittop
3+ version=0.5.0
4+ revision=1
5+ archs="x86_64 x86_64-musl aarch64 aarch64-musl"
6+ create_wrksrc=yes
7+ short_desc="Lightweight desktop client for GitHub notifications"
8+ maintainer="AmarBego <begovicamar@proton.me>"
9+ license="AGPL-3.0-only"
10+ homepage="https://github.com/AmarBego/GitTop"
11+ nostrip=yes
12+ noshlibprovides=yes
13+
14+ _baseurl="https://github.com/AmarBego/GitTop/releases/download/v${version}"
15+ case "$XBPS_TARGET_MACHINE" in
16+ x86_64)
17+ distfiles="${_baseurl}/gittop-${version}-linux-gnu-x86_64.tar.gz"
18+ checksum=cf635b3b4a194d54022081137988b170d2683f02507470fdc8f4ee386728d094
19+ _arch_dir="gittop-${version}-linux-gnu-x86_64"
20+ ;;
21+ x86_64-musl)
22+ distfiles="${_baseurl}/gittop-${version}-linux-musl-x86_64.tar.gz"
23+ checksum=546f4c4a04f4be68f4848a2b4dd316b17f56feabb749d46d2f89a8d1f5a94e87
24+ _arch_dir="gittop-${version}-linux-musl-x86_64"
25+ ;;
26+ aarch64)
27+ distfiles="${_baseurl}/gittop-${version}-linux-gnu-aarch64.tar.gz"
28+ checksum=e8bddf7cff766b8fe4b87811c18efcf40c3bea2fe0fd418f618ee6f067cc017f
29+ _arch_dir="gittop-${version}-linux-gnu-aarch64"
30+ ;;
31+ aarch64-musl)
32+ distfiles="${_baseurl}/gittop-${version}-linux-musl-aarch64.tar.gz"
33+ checksum=d5841fbb11ad7c63b52d13d69ffd994e5b0398d1e801b655c2ade842c6772234
34+ _arch_dir="gittop-${version}-linux-musl-aarch64"
35+ ;;
36+ esac
37+
38+ do_install() {
39+ vbin ${_arch_dir}/gittop
40+ vinstall ${_arch_dir}/gittop.desktop 644 usr/share/applications
41+ vinstall ${_arch_dir}/gittop.png 644 usr/share/pixmaps
42+ vlicense ${_arch_dir}/LICENSE.md
43+ }
You can’t perform that action at this time.
0 commit comments